{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2016-11-15T10:23:54.915740",
     "start_time": "2016-11-15T10:23:54.178233"
    }
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "Using TensorFlow backend.\n"
     ]
    }
   ],
   "source": [
    "import numpy as np\n",
    "from keras.models import Model\n",
    "from keras.layers import Input\n",
    "from keras.layers.convolutional import Cropping3D\n",
    "from keras import backend as K\n",
    "import json\n",
    "from collections import OrderedDict"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2016-11-15T10:23:54.919435",
     "start_time": "2016-11-15T10:23:54.917091"
    },
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def format_decimal(arr, places=6):\n",
    "    return [round(x * 10**places) / 10**places for x in arr]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "DATA = OrderedDict()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Cropping3D"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "**[convolutional.Cropping3D.0] cropping ((1,1), (1,1), (1,1)) on 3x5x3x3 input, data_format='channels_last'**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2016-11-15T10:25:16.914056",
     "start_time": "2016-11-15T10:25:16.898008"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "in shape: (3, 5, 3, 3)\n",
      "in: [-0.806777, -0.564841, -0.481331, 0.559626, 0.274958, -0.659222, -0.178541, 0.689453, -0.028873, 0.053859, -0.446394, -0.53406, 0.776897, -0.700858, -0.802179, -0.616515, 0.718677, 0.303042, -0.080606, -0.850593, -0.795971, 0.860487, -0.90685, 0.89858, 0.617251, 0.334305, -0.351137, -0.642574, 0.108974, -0.993964, 0.051085, -0.372012, 0.843766, 0.088025, -0.598662, 0.789035, -0.971233, -0.917609, 0.10035, -0.993908, 0.001303, 0.151006, -0.222302, -0.462642, 0.318882, 0.910461, -0.951606, -0.628088, 0.858834, 0.18648, 0.005839, -0.976863, -0.602595, -0.907466, 0.537085, 0.254335, -0.624879, -0.26462, -0.597274, 0.717515, 0.933281, -0.928165, -0.664793, 0.350419, 0.604354, 0.134613, -0.170544, 0.287505, -0.342583, -0.908204, -0.055996, 0.686364, -0.877763, 0.666511, -0.333493, -0.283194, 0.764997, 0.702478, -0.495511, 0.451364, 0.945924, -0.238126, 0.146568, -0.281422, -0.379007, 0.914172, 0.337272, 0.175728, -0.945958, -0.727577, -0.133378, -0.069779, -0.952209, 0.237581, -0.244335, 0.838199, -0.187442, 0.255861, 0.28158, -0.60797, 0.992258, 0.16382, 0.240562, 0.353587, 0.300174, 0.216722, -0.422345, -0.239941, 0.354771, 0.567014, -0.085289, 0.751301, -0.255041, -0.656808, -0.220736, -0.275667, 0.568007, 0.251274, 0.888831, 0.976139, 0.040987, 0.474905, 0.181267, 0.707542, -0.570195, 0.897656, -0.91601, -0.419443, -0.346422, -0.770603, 0.883902, -0.490007, 0.470248, -0.217687, 0.365399]\n",
      "out shape: (1, 3, 1, 3)\n",
      "out: [-0.26462, -0.597274, 0.717515, -0.170544, 0.287505, -0.342583, -0.283194, 0.764997, 0.702478]\n"
     ]
    }
   ],
   "source": [
    "data_in_shape = (3, 5, 3, 3)\n",
    "L = Cropping3D(cropping=((1,1), (1,1), (1,1)), data_format='channels_last')\n",
    "\n",
    "layer_0 = Input(shape=data_in_shape)\n",
    "layer_1 = L(layer_0)\n",
    "model = Model(inputs=layer_0, outputs=layer_1)\n",
    "\n",
    "# set weights to random (use seed for reproducibility)\n",
    "np.random.seed(260)\n",
    "data_in = 2 * np.random.random(data_in_shape) - 1\n",
    "result = model.predict(np.array([data_in]))\n",
    "data_out_shape = result[0].shape\n",
    "data_in_formatted = format_decimal(data_in.ravel().tolist())\n",
    "data_out_formatted = format_decimal(result[0].ravel().tolist())\n",
    "print('')\n",
    "print('in shape:', data_in_shape)\n",
    "print('in:', data_in_formatted)\n",
    "print('out shape:', data_out_shape)\n",
    "print('out:', data_out_formatted)\n",
    "\n",
    "DATA['convolutional.Cropping3D.0'] = {\n",
    "    'input': {'data': data_in_formatted, 'shape': data_in_shape},\n",
    "    'expected': {'data': data_out_formatted, 'shape': data_out_shape}\n",
    "}"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "**[convolutional.Cropping3D.1] cropping ((1,1), (1,1), (1,1)) on 3x5x3x3 input, data_format='channels_first'**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2016-11-15T10:32:51.809434",
     "start_time": "2016-11-15T10:32:51.786296"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "in shape: (3, 5, 3, 3)\n",
      "in: [0.601872, -0.028379, 0.654213, 0.217731, -0.864161, 0.422013, 0.888312, -0.714141, -0.184753, 0.224845, -0.221123, -0.847943, -0.511334, -0.871723, -0.597589, -0.889034, -0.544887, -0.004798, 0.406639, -0.35285, 0.648562, 0.325102, -0.691014, -0.77342, -0.290393, -0.724779, 0.282119, 0.149588, 0.189558, -0.216989, -0.959622, -0.6309, -0.935622, -0.799247, -0.434939, -0.46504, -0.354178, 0.299364, -0.141294, 0.7451, 0.479026, -0.401207, -0.100649, 0.210378, 0.274347, 0.18857, -0.806871, -0.319347, -0.340714, 0.158351, -0.628744, -0.831363, -0.438345, 0.476498, 0.078437, 0.440929, -0.104442, -0.298102, -0.71911, -0.639047, -0.105697, -0.206569, 0.488046, 0.537381, -0.932015, -0.026858, -0.180384, 0.689, -0.211902, -0.748449, -0.998768, 0.240241, 0.981617, -0.543443, -0.402752, -0.155179, -0.786053, -0.6814, 0.856198, 0.5014, -0.030769, 0.537266, -0.51634, -0.651155, 0.746369, -0.479882, 0.830541, 0.809405, -0.088337, 0.323661, -0.837717, 0.205022, 0.64613, 0.53008, -0.524773, -0.465825, -0.737998, 0.002655, -0.409154, 0.386546, 0.732114, 0.943808, 0.972295, 0.887986, -0.903027, -0.068767, 0.325606, -0.292748, 0.987261, -0.459732, 0.560632, 0.305507, 0.950267, 0.412453, 0.230538, 0.040849, 0.241941, 0.785678, -0.743142, -0.162099, -0.713202, 0.830204, 0.672253, 0.27976, -0.860542, 0.628966, 0.884616, -0.200211, 0.258164, -0.222392, 0.68802, 0.51867, -0.14398, -0.236862, 0.045431]\n",
      "out shape: (3, 3, 1, 1)\n",
      "out: [-0.871723, -0.691014, -0.6309, -0.71911, 0.689, -0.786053, 0.887986, 0.950267, 0.830204]\n"
     ]
    }
   ],
   "source": [
    "data_in_shape = (3, 5, 3, 3)\n",
    "L = Cropping3D(cropping=((1,1), (1,1), (1,1)), data_format='channels_first')\n",
    "\n",
    "layer_0 = Input(shape=data_in_shape)\n",
    "layer_1 = L(layer_0)\n",
    "model = Model(inputs=layer_0, outputs=layer_1)\n",
    "\n",
    "# set weights to random (use seed for reproducibility)\n",
    "np.random.seed(261)\n",
    "data_in = 2 * np.random.random(data_in_shape) - 1\n",
    "result = model.predict(np.array([data_in]))\n",
    "data_out_shape = result[0].shape\n",
    "data_in_formatted = format_decimal(data_in.ravel().tolist())\n",
    "data_out_formatted = format_decimal(result[0].ravel().tolist())\n",
    "print('')\n",
    "print('in shape:', data_in_shape)\n",
    "print('in:', data_in_formatted)\n",
    "print('out shape:', data_out_shape)\n",
    "print('out:', data_out_formatted)\n",
    "\n",
    "DATA['convolutional.Cropping3D.1'] = {\n",
    "    'input': {'data': data_in_formatted, 'shape': data_in_shape},\n",
    "    'expected': {'data': data_out_formatted, 'shape': data_out_shape}\n",
    "}"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "**[convolutional.Cropping3D.2] cropping ((3,2), (2,1), (2,3)) on 7x6x6x6 input, data_format='channels_last'**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2016-11-15T10:33:43.754762",
     "start_time": "2016-11-15T10:33:43.728485"
    },
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "in shape: (7, 6, 6, 6)\n",
      "in: [-0.215694, 0.441215, 0.116911, 0.53299, 0.883562, -0.535525, -0.869764, -0.596287, 0.576428, -0.689083, -0.132924, -0.129935, -0.17672, -0.29097, 0.590914, 0.992098, 0.908965, -0.170202, 0.640203, 0.178644, 0.866749, -0.545566, -0.827072, 0.420342, -0.076191, 0.207686, -0.908472, -0.795307, -0.948319, 0.683682, -0.563278, -0.82135, 0.391356, 0.873557, 0.101774, 0.552487, -0.805471, -0.158387, 0.737777, 0.407663, 0.024323, 0.931444, -0.813418, -0.054911, -0.8488, -0.528392, 0.31073, -0.518975, -0.334317, 0.984459, 0.876118, 0.939272, -0.286813, -0.499695, 0.741409, 0.979405, 0.384731, -0.861441, 0.956879, 0.371096, 0.395767, -0.182768, -0.04864, 0.943523, 0.252702, -0.922957, 0.084044, -0.151514, -0.104476, -0.519114, 0.170185, -0.304221, 0.648458, 0.975786, -0.026504, 0.806763, -0.551306, 0.363744, -0.253539, 0.520681, -0.555914, 0.164078, 0.069617, 0.61564, -0.814065, 0.834879, 0.448904, 0.572477, -0.634663, -0.962277, -0.511182, 0.28331, 0.456662, 0.097291, -0.612782, 0.780788, 0.815368, -0.045092, -0.154594, -0.749131, -0.13425, 0.067759, 0.965334, -0.402963, -0.305027, 0.900762, -0.68091, -0.760497, -0.702999, -0.479565, 0.705878, 0.739556, 0.743407, -0.08787, 0.194838, 0.444586, -0.237847, 0.714397, 0.003476, 0.176333, 0.318089, -0.210574, 0.665183, -0.74621, -0.439604, -0.032897, -0.67171, 0.757381, -0.117032, -0.832812, 0.562207, -0.824057, 0.147708, 0.608499, 0.377938, -0.930702, 0.04294, -0.039472, -0.517352, -0.64207, 0.361295, -0.544495, 0.825223, 0.473357, -0.733994, -0.368548, 0.586403, -0.465342, 0.72613, -0.187859, 0.054425, 0.239031, 0.854588, 0.829812, 0.848903, 0.139064, 0.008025, -0.546984, 0.395519, -0.866557, 0.801336, -0.732569, -0.185929, 0.152884, -0.953483, 0.930523, -0.54922, -0.093218, 0.325075, -0.719152, -0.633034, -0.753904, 0.344891, -0.963772, -0.446026, 0.286814, 0.756519, 0.372178, 0.071732, -0.188247, 0.693894, -0.43033, -0.903031, -0.492189, 0.899836, -0.552368, -0.553622, -0.679484, 0.016195, 0.891604, 0.779606, 0.149406, 0.752016, -0.695177, -0.930224, -0.664835, -0.79635, 0.423615, -0.254402, 0.159415, -0.15244, 0.820635, 0.770241, 0.815006, -0.485857, 0.294987, 0.964034, 0.134613, 0.673378, -0.376272, -0.808101, 0.412723, 0.573529, 0.005777, -0.053066, -0.700318, 0.235987, -0.068263, 0.247649, -0.404731, 0.203814, -0.329107, -0.468369, 0.802557, 0.66231, -0.149117, -0.138193, -0.101905, -0.035625, -0.443804, -0.78221, -0.073352, 0.550544, 0.364402, 0.969535, -0.108104, -0.87979, -0.49984, 0.412514, -0.689554, -0.126264, -0.471823, -0.446719, -0.720356, 0.457369, 0.985619, 0.607835, 0.48972, -0.515463, -0.124945, -0.114273, 0.005033, 0.791923, 0.351923, -0.290373, -0.951029, 0.913971, -0.539169, -0.028312, -0.036768, -0.850635, -0.167548, -0.168993, -0.923405, 0.853735, -0.154032, 0.30117, -0.244491, 0.191919, -0.825866, 0.634476, -0.098177, 0.365853, -0.976385, -0.992225, -0.707116, 0.487679, 0.0492, -0.463333, -0.173074, 0.83129, -0.141277, -0.806725, -0.935533, 0.843659, 0.476078, -0.071665, 0.159787, -0.917204, -0.54939, 0.593851, -0.599885, 0.524063, 0.326937, -0.238377, 0.097153, 0.343496, -0.58839, 0.830905, 0.442858, 0.462174, 0.705181, 0.048056, -0.938781, 0.653592, -0.730406, -0.929912, 0.897714, -0.735706, -0.410101, -0.955015, -0.001601, 0.085032, -0.055787, -0.944858, -0.793914, 0.000563, -0.16397, 0.33181, -0.289269, 0.10943, 0.944269, -0.193446, 0.48286, -0.195952, -0.511226, -0.448196, 0.695966, -0.12916, -0.713753, -0.64093, 0.716985, -0.098099, 0.123401, -0.056109, 0.010111, 0.352437, -0.509194, 0.750921, 0.253841, -0.708165, 0.821124, 0.006613, 0.098428, -0.78475, -0.60798, -0.947196, 0.282283, -0.262235, 0.53522, -0.864729, -0.119298, 0.936872, 0.180087, 0.977898, -0.025644, -0.558908, 0.715291, 0.000521, -0.764904, 0.319351, 0.980566, -0.786352, -0.532971, 0.22349, -0.716549, -0.310122, -0.487408, -0.440706, 0.977597, 0.983465, 0.234706, -0.604104, -0.965578, -0.580777, -0.791097, -0.091303, 0.973252, -0.612431, -0.843771, 0.759226, -0.496212, -0.798771, 0.088759, -0.344253, 0.431093, -0.794068, -0.225465, 0.339765, 0.130517, -0.512642, -0.109772, -0.90458, 0.404718, 0.704574, 0.758276, 0.659395, 0.443485, 0.506577, -0.883215, 0.828717, -0.532839, -0.743989, -0.561542, 0.237909, -0.11387, 0.580675, 0.939269, 0.922755, -0.262718, 0.345844, 0.690802, -0.151282, 0.655477, 0.035601, 0.611308, -0.530814, -0.8206, -0.524242, -0.493136, -0.074615, -0.412433, -0.082067, -0.188891, 0.788821, -0.264136, -0.188681, -0.001166, -0.237385, 0.716098, -0.055445, 0.903261, -0.690342, 0.345747, -0.8422, 0.681083, -0.880773, -0.47829, -0.087262, 0.286764, -0.73948, 0.938692, -0.734384, 0.836267, 0.428397, -0.284466, 0.087184, 0.565192, -0.92756, -0.617862, -0.902012, -0.97077, -0.3262, -0.117703, 0.324541, 0.790994, 0.960735, 0.858284, 0.35247, 0.199395, -0.886025, -0.403741, 0.286867, -0.745825, -0.575954, 0.393387, 0.161558, 0.933436, -0.04139, 0.712661, -0.621411, -0.704434, 0.374135, -0.71425, 0.502797, 0.034642, 0.633788, -0.449388, -0.593975, 0.805345, -0.399393, 0.518122, -0.382023, -0.698987, 0.925711, -0.808321, 0.670118, -0.306688, 0.038679, -0.880873, -0.105844, -0.335898, 0.321574, 0.976045, 0.664659, 0.341049, -0.813552, -0.181204, -0.457684, -0.944205, 0.130818, 0.91465, 0.375795, -0.83426, -0.884669, 0.884202, 0.524805, 0.866177, 0.605792, -0.143796, -0.468536, -0.848138, -0.471953, -0.958303, 0.221358, -0.120887, -0.368682, -0.346116, -0.182678, -0.569586, 0.328268, 0.744066, -0.089028, -0.413939, 0.966069, 0.806133, 0.811337, -0.216864, 0.519711, 0.532548, 0.782122, -0.594866, -0.414185, -0.96614, 0.504274, 0.770258, -0.81789, -0.441714, -0.43652, 0.582823, 0.838065, -0.213008, -0.643435, 0.230493, -0.679991, -0.179979, -0.931999, -0.154311, 0.96013, -0.202379, 0.473898, 0.401901, 0.485608, 0.835172, 0.767556, -0.318512, 0.869208, 0.091651, -0.450239, 0.921468, 0.980922, 0.874128, -0.457308, -0.78107, -0.604558, -0.107902, -0.868826, 0.761486, 0.985782, 0.18808, 0.034727, -0.51135, 0.007318, -0.412556, -0.575671, 0.262399, -0.431255, 0.236753, 0.234476, -0.009731, -0.469543, 0.335344, -0.006414, 0.127297, -0.300389, 0.608195, -0.556598, 0.611592, 0.828308, 0.66101, 0.139477, -0.559037, -0.34807, 0.920787, 0.967347, 0.615015, -0.182736, 0.942934, -0.622099, 0.944364, -0.700525, 0.283057, 0.214233, -0.352612, -0.391157, -0.6866, -0.949089, -0.830036, 0.028655, 0.160321, 0.962427, 0.771235, 0.701332, -0.073448, -0.880306, -0.67372, 0.579104, 0.832739, -0.451863, 0.830591, -0.393846, -0.87822, 0.432681, -0.222904, -0.855099, -0.703505, -0.723594, -0.401981, -0.304913, -0.60108, -0.207273, -0.259013, 0.065798, 0.244318, 0.518287, -0.047123, 0.769841, -0.833204, -0.936774, 0.74598, -0.557437, -0.221576, -0.913191, 0.108353, 0.115733, 0.013277, 0.439679, 0.422073, 0.303912, -0.021176, -0.91273, -0.909738, 0.559815, 0.621811, 0.907303, 0.34733, -0.143574, -0.215208, -0.919455, 0.860239, 0.041072, -0.011693, -0.787824, 0.551498, 0.966032, -0.763429, 0.548998, 0.155827, -0.539245, -0.508795, -0.076923, -0.430267, -0.026247, 0.110006, 0.050526, 0.312362, -0.29318, -0.913974, -0.018903, 0.348191, 0.43283, -0.339458, 0.67296, -0.503704, -0.126925, 0.126921, 0.681079, -0.18157, -0.846449, 0.561337, -0.162773, 0.578579, 0.845398, -0.535639, 0.928576, -0.333678, 0.755441, 0.76015, 0.329895, 0.144662, -0.208612, -0.298499, 0.978054, 0.087719, 0.56864, 0.791894, 0.633447, -0.829405, 0.696793, 0.844902, 0.639941, 0.855367, -0.563831, 0.11538, -0.838183, -0.340807, -0.765973, -0.201738, 0.901256, 0.461485, -0.922959, -0.543252, 0.247037, -0.603098, 0.143447, -0.298636, 0.255228, 0.555237, -0.142739, 0.094639, -0.003793, 0.585846, 0.795219, -0.16835, -0.51469, 0.478591, -0.749477, 0.155347, 0.706903, 0.047964, 0.239316, 0.790049, 0.707638, -0.367523, -0.852255, 0.309914, 0.848387, -0.859448, -0.273302, -0.337586, 0.048332, 0.927994, 0.564126, 0.254753, -0.573478, -0.346197, -0.715717, -0.051958, -0.494504, 0.599351, 0.984027, 0.23743, 0.854292, 0.20021, 0.100571, -0.407464, 0.395228, 0.987905, 0.195573, 0.58147, 0.06667, 0.854165, 0.416721, 0.034649, 0.241931, -0.819904, -0.738848, 0.008158, -0.725937, 0.478754, 0.883892, -0.11895, 0.422474, 0.755278, -0.107855, 0.893582, -0.656121, 0.169792, 0.026624, -0.854244, 0.043245, 0.013092, 0.906277, 0.050616, 0.137537, 0.123879, -0.829904, -0.8344, -0.500271, 0.187797, 0.480912, 0.689756, 0.648658, 0.112738, 0.480717, 0.050545, -0.517454, 0.646335, -0.520894, 0.298304, 0.00373, 0.176349, -0.112375, -0.844539, -0.292901, 0.027739, 0.113266, 0.867302, 0.893293, 0.951617, 0.858295, 0.403715, -0.694067, 0.018322, 0.604787, 0.904331, -0.877118, -0.381556, 0.302968, -0.884946, 0.634482, 0.2684, 0.07795, -0.552023, -0.497385, -0.001392, 0.613874, 0.312707, -0.516964, 0.07461, -0.532681, 0.097518, 0.018129, -0.312512, -0.860073, 0.318977, -0.744195, -0.150664, -0.53404, -0.428665, -0.174314, 0.247514, -0.595893, 0.748659, -0.37269, 0.780516, 0.655175, -0.511935, -0.747456, 0.111773, -0.309556, 0.636038, -0.256566, -0.724825, -0.316549, -0.868989, -0.706117, -0.824815, -0.618301, 0.856392, -0.996149, 0.63829, 0.880169, 0.893699, -0.893984, -0.046652, 0.315952, -0.44143, -0.864354, 0.892476, -0.211045, 0.059187, 0.57039, -0.997778, 0.191066, -0.830022, 0.650504, -0.530842, 0.058659, 0.952869, -0.157372, 0.92573, 0.928522, -0.45409, -0.778338, -0.363509, -0.763773, 0.679892, 0.241852, 0.351275, -0.258137, 0.395351, -0.381122, 0.709346, 0.375105, 0.28349, -0.151699, -0.887474, -0.980568, -0.84615, 0.90203, 0.770327, 0.159608, -0.959841, 0.784576, 0.545309, 0.493765, -0.27253, 0.655846, 0.553353, 0.152227, 0.438126, 0.987307, 0.403776, -0.232088, -0.605441, -0.090541, -0.189261, -0.999625, 0.538246, 0.532891, -0.374952, -0.508505, 0.346032, -0.344552, -0.550043, -0.935551, -0.99107, -0.301938, -0.168825, 0.35326, -0.599303, -0.654331, -0.261841, -0.571388, 0.698991, -0.078255, -0.195565, 0.691759, -0.628298, 0.697236, 0.670352, 0.110078, -0.137484, -0.965838, 0.499479, -0.931003, 0.565995, -0.289345, 0.171825, 0.893263, -0.698565, 0.106203, 0.78723, -0.507623, 0.23409, -0.072888, 0.972045, -0.156797, -0.18569, -0.816269, 0.086552, -0.862185, 0.977191, -0.818147, -0.917344, -0.578661, 0.216002, 0.390336, 0.227703, 0.962969, 0.885609, -0.2223, 0.669628, 0.042634, -0.939601, -0.949383, -0.383965, -0.42231, -0.374712, 0.387369, 0.646834, 0.872373, -0.217432, -0.860018, -0.730193, -0.842808, -0.088775, -0.45984, -0.641785, 0.361352, 0.617324, 0.281634, -0.267519, -0.104152, 0.065566, 0.638451, -0.99023, 0.122453, -0.581285, -0.84508, -0.213483, -0.018054, -0.2835, 0.951819, 0.731384, -0.241599, -0.941958, -0.47496, -0.704789, -0.267755, -0.299397, 0.475516, 0.224848, -0.613151, 0.853631, -0.285596, -0.984425, -0.004342, -0.558075, -0.498553, 0.272694, 0.068413, 0.598389, -0.558155, -0.463243, 0.118942, 0.392428, 0.585269, 0.559008, 0.509983, -0.719725, 0.899859, -0.054641, 0.56467, -0.088496, -0.246774, -0.909083, -0.635166, -0.180455, -0.566009, -0.304824, -0.337654, -0.28894, -0.930163, -0.180485, -0.515424, 0.710147, -0.606524, 0.985967, 0.888985, 0.645856, 0.745228, 0.442467, -0.309917, 0.726975, 0.019567, -0.140183, 0.614124, -0.856526, -0.568601, -0.90666, -0.746201, 0.89231, 0.328027, 0.670873, 0.772824, -0.249407, -0.225128, -0.309643, 0.055451, 0.397084, -0.015763, -0.104947, 0.946976, 0.373816, -0.485013, 0.004047, -0.892327, 0.812327, 0.013913, 0.817028, -0.083667, 0.727218, -0.856644, 0.181954, -0.947651, 0.517506, 0.385722, -0.222445, -0.129355, -0.155133, -0.186532, 0.134046, -0.181235, 0.701509, 0.10727, -0.223625, 0.990662, -0.071366, 0.751143, 0.855357, 0.084802, -0.832278, -0.053375, -0.19636, -0.903927, 0.513069, 0.618, -0.530257, 0.910113, -0.970662, 0.740255, -0.542166, 0.70816, 0.340971, 0.015036, -0.561873, -0.576902, 0.959876, -0.552993, 0.25889, -0.901, 0.269618, 0.946302, 0.943612, 0.326183, -0.988706, 0.354102, 0.675289, -0.567086, -0.11179, 0.792741, -0.225879, 0.084516, -0.663273, -0.006569, -0.602323, -0.837099, 0.090505, 0.058281, 0.048858, -0.123648, 0.270346, -0.663069, 0.261073, 0.202716, -0.108538, 0.08633, -0.588139, 0.245405, 0.370942, -0.920384, -0.283831, 0.181426, 0.215151, 0.286008, 0.068399, 0.495306, 0.582592, 0.961226, 0.388063, 0.164688, 0.940278, 0.246888, -0.365183, -0.985746, 0.680361, -0.70754, -0.638368, -0.194461, 0.012646, -0.833634, -0.946438, -0.317705, -0.936933, -0.114303, -0.200694, 0.869011, 0.605997, 0.160927, -0.226291, -0.443921, 0.170021, -0.678198, -0.008692, -0.866096, 0.473826, 0.008789, -0.907462, 0.227272, -0.774721, 0.275255, -0.17879, 0.297924, 0.190216, 0.796589, 0.564772, 0.676277, 0.347743, 0.993239, -0.800231, -0.825401, 0.604841, -0.078256, -0.981104, -0.590065, -0.690202, -0.140628, -0.281607, 0.13361, 0.487755, 0.703334, -0.048199, -0.729918, 0.638745, -0.930051, 0.792881, 0.560942, 0.984295, -0.026256, -0.807647, 0.037724, -0.883297, 0.527074, -0.058281, -0.343332, 0.832498, -0.823443, -0.868069, -0.665845, -0.68803, -0.204482, -0.56854, 0.589662, -0.68208, -0.711295, -0.324815, -0.363985, -0.141501, 0.180616, 0.098551, 0.356221, 0.76361, -0.495118, -0.619777, 0.267608, 0.089808, 0.008487, 0.674874, -0.490058, 0.251746, 0.422547, 0.257684, 0.125063, -0.211933, -0.5837, 0.899513, -0.843382, 0.809206, 0.015723, 0.099545, 0.847903, 0.857367, 0.519134, -0.417192, 0.941586, -0.080451, -0.848042, 0.211095, -0.772879, 0.89962, 0.423203, 0.512657, 0.319136, 0.45159, -0.624661, 0.753426, 0.435051, 0.529813, -0.230807, 0.888217, -0.166501, 0.465283, 0.651958, 0.519247, -0.225627, 0.382678, -0.629582, 0.551638, 0.929462, 0.314522, 0.614207, 0.823258, 0.56108, 0.86222, 0.19359, 0.244032, -0.378665, -0.005995, -0.292157, 0.168248, -0.429104, 0.014448, -0.882993, -0.234892, 0.514872, -0.502579, 0.118967, 0.07172, -0.850605, -0.607353, -0.138796, 0.331546, -0.847802, -0.932981, 0.084612, 0.010107, 0.32207, 0.801925, 0.997006, 0.326342, -0.226299, -0.748639, -0.730569, 0.262857, 0.413763, 0.066078, 0.089592, 0.27274, -0.05279, -0.45969, 0.459876, -0.440616, -0.584216, 0.786428, -0.973574, 0.061268, 0.092513, -0.567305, -0.81828, -0.918282, 0.664616, -0.575549, 0.971633, -0.982765, -0.632645, -0.800731, -0.21014, 0.826888, -0.155641, 0.144107, -0.920645, -0.991449, -0.000424, 0.300884, 0.1739, 0.015016, -0.977229, 0.095473, -0.747487, -0.04811, -0.136179, 0.468823, 0.927328, -0.555573, -0.527881, 0.645769, -0.477288, 0.346913, 0.293331, -0.322506, -0.486036, 0.944806, -0.511478, 0.899668, -0.303661, 0.873202, 0.723627, -0.538803, -0.541068, -0.667583, -0.461309, 0.929536, 0.935886, 0.219344, 0.039384, 0.043505, 0.921023, 0.774462, -0.165124, 0.534882, -0.491295, 0.64098, 0.91552, -0.657771, -0.558026, -0.790053, -0.191911, -0.308405, -0.04291, -0.448419, 0.21546, -0.242481, 0.808682, -0.01429, -0.20858, 0.441844, -0.943866, 0.320261, 0.523448, 0.585242, 0.090222, 0.800684, 0.112569, 0.30048, -0.66428, 0.752563, 0.22063, 0.918407, -0.76884, 0.825441, -0.044886, -0.039001, -0.828224, 0.433909, -0.700554, -0.84114, -0.65443, 0.292814, 0.275683, 0.124566, 0.551632, -0.010923, 0.678319, 0.628851, -0.458944, 0.800552, -0.397508, 0.98454, -0.965652, -0.20582, 0.820265, -0.132816, -0.278788, -0.856228, 0.139643, 0.703275, -0.322692, -0.338363, 0.378641, -0.28617, 0.101698, 0.433472, 0.068613, -0.148242, -0.466705, 0.738394, -0.410927, 0.984962, 0.405669, 0.125866, -0.982088, 0.955039, 0.845436, -0.745603, 0.446631, 0.78486, 0.369507, -0.380944, 0.883958, 0.268992, 0.106985, 0.97518, -0.222182, 0.831121, 0.946638, -0.357391, -0.347985, 0.787543, 0.209383, 0.476927, -0.374685, 0.693189, 0.60696, -0.978613, 0.289488, 0.943956, 0.035094, -0.89281, 0.105184, -0.666919, 0.304481, -0.955062, 0.925374, 0.157778, -0.468151, -0.31179, -0.012953, 0.164448, -0.656307, 0.343733]\n",
      "out shape: (2, 3, 1, 6)\n",
      "out: [0.795219, -0.16835, -0.51469, 0.478591, -0.749477, 0.155347, 0.195573, 0.58147, 0.06667, 0.854165, 0.416721, 0.034649, 0.480717, 0.050545, -0.517454, 0.646335, -0.520894, 0.298304, 0.691759, -0.628298, 0.697236, 0.670352, 0.110078, -0.137484, 0.042634, -0.939601, -0.949383, -0.383965, -0.42231, -0.374712, -0.267755, -0.299397, 0.475516, 0.224848, -0.613151, 0.853631]\n"
     ]
    }
   ],
   "source": [
    "data_in_shape = (7, 6, 6, 6)\n",
    "L = Cropping3D(cropping=((3,2), (2,1), (2,3)), data_format='channels_last')\n",
    "\n",
    "layer_0 = Input(shape=data_in_shape)\n",
    "layer_1 = L(layer_0)\n",
    "model = Model(inputs=layer_0, outputs=layer_1)\n",
    "\n",
    "# set weights to random (use seed for reproducibility)\n",
    "np.random.seed(262)\n",
    "data_in = 2 * np.random.random(data_in_shape) - 1\n",
    "result = model.predict(np.array([data_in]))\n",
    "data_out_shape = result[0].shape\n",
    "data_in_formatted = format_decimal(data_in.ravel().tolist())\n",
    "data_out_formatted = format_decimal(result[0].ravel().tolist())\n",
    "print('')\n",
    "print('in shape:', data_in_shape)\n",
    "print('in:', data_in_formatted)\n",
    "print('out shape:', data_out_shape)\n",
    "print('out:', data_out_formatted)\n",
    "\n",
    "DATA['convolutional.Cropping3D.2'] = {\n",
    "    'input': {'data': data_in_formatted, 'shape': data_in_shape},\n",
    "    'expected': {'data': data_out_formatted, 'shape': data_out_shape}\n",
    "}"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "**[convolutional.Cropping3D.3] cropping ((3,2), (2,1), (2,3)) on 7x6x6x6 input, data_format='channels_first'**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2016-11-15T10:34:42.856366",
     "start_time": "2016-11-15T10:34:42.837264"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "in shape: (7, 6, 6, 6)\n",
      "in: [0.146568, 0.515731, 0.134536, 0.043205, 0.83382, -0.586258, 0.983022, -0.20072, 0.957428, -0.534388, 0.086582, 0.736441, 0.70589, 0.631127, -0.554697, -0.905576, 0.339993, 0.392332, -0.964003, -0.634941, 0.026777, 0.974543, 0.873564, 0.002092, -0.851041, 0.956249, 0.644129, 0.507722, -0.483208, 0.909996, -0.706016, -0.222652, -0.888891, -0.784948, -0.114098, -0.145975, -0.951592, -0.499689, -0.371706, 0.254782, 0.091264, -0.847246, 0.811012, -0.307217, 0.661773, 0.296799, 0.568937, -0.74828, 0.961128, 0.983882, -0.6555, -0.430288, 0.155451, -0.54652, 0.574678, 0.997315, -0.155701, -0.707259, 0.013075, -0.031526, 0.246938, -0.598347, -0.839284, 0.322527, -0.479531, -0.403987, -0.130843, -0.794677, -0.525219, -0.427038, -0.886764, -0.380128, -0.248709, -0.634349, 0.635426, -0.422687, 0.105558, -0.000606, 0.414652, 0.530061, 0.617177, 0.539295, -0.683667, -0.917674, -0.305118, 0.554795, 0.332407, -0.593635, 0.931082, -0.054595, -0.977532, -0.869297, -0.79651, 0.823621, -0.818625, 0.324353, 0.633491, 0.941217, -0.209567, 0.047751, -0.156702, -0.30963, 0.902996, -0.251934, -0.761763, 0.961525, -0.717229, 0.72669, -0.19004, 0.877499, -0.381771, -0.655345, -0.842388, 0.344533, 0.335824, 0.402812, 0.096828, 0.34374, -0.04072, 0.753902, 0.623616, -0.157689, -0.63443, -0.303468, -0.50756, -0.848359, -0.997796, -0.600235, 0.057, -0.296764, -0.978223, -0.804866, 0.432025, 0.575883, 0.915434, -0.307259, 0.70806, -0.849986, -0.535359, 0.951492, 0.378912, 0.435011, 0.493822, 0.610953, 0.688725, 0.135737, 0.610872, -0.040927, 0.56398, -0.877009, -0.241415, -0.696018, -0.906501, -0.647268, 0.313708, -0.151553, -0.988233, 0.718184, -0.11296, -0.125418, 0.37261, -0.307025, 0.007584, 0.662663, -0.188191, 0.191423, 0.647629, 0.489008, 0.453111, 0.994356, -0.092459, 0.156034, -0.468973, 0.229634, 0.332453, -0.587996, 0.537969, 0.530188, -0.954784, 0.835599, -0.591753, 0.956275, -0.108191, 0.303352, 0.041919, 0.868325, -0.892379, 0.664313, -0.650765, 0.497537, -0.153089, 0.699751, -0.247635, 0.843126, -0.124075, -0.303422, -0.070858, 0.87021, -0.517, 0.783843, 0.514101, -0.954991, 0.839109, -0.445843, 0.141285, 0.810906, -0.549008, 0.625467, -0.539765, 0.384235, 0.809025, -0.28048, -0.040474, 0.211926, 0.711552, -0.283254, -0.560281, 0.641999, 0.955289, -0.23473, -0.505493, 0.296908, -0.735472, 0.673408, -0.827954, -0.953378, -0.40724, -0.755562, -0.455332, -0.845908, 0.267078, 0.678227, -0.262403, 0.502456, -0.899261, 0.675189, 0.729789, -0.518647, -0.885873, 0.554472, 0.019331, 0.064872, -0.74064, -0.346075, -0.719156, -0.490914, -0.617166, 0.183482, 0.154503, 0.911372, -0.138586, -0.860584, -0.435806, 0.978026, -0.211456, 0.311005, -0.09029, 0.75982, 0.352321, -0.279402, 0.285902, -0.571848, -0.207983, 0.492265, -0.714098, -0.305123, 0.425632, -0.152492, -0.633904, 0.807944, -0.456205, -0.774147, 0.041522, 0.571239, 0.185902, -0.669458, 0.903198, -0.482557, 0.43623, 0.11452, -0.429771, -0.770557, -0.415143, 0.300797, -0.508437, 0.732038, -0.358773, 0.384433, -0.954638, -0.049516, -0.921491, -0.280911, -0.006534, 0.021261, 0.704396, 0.843477, -0.64678, 0.215402, 0.344083, 0.190791, 0.460766, 0.631456, -0.796353, -0.70697, -0.93932, -0.26941, 0.291231, -0.776953, 0.511543, -0.961911, 0.538473, -0.699736, -0.10484, 0.355965, -0.894656, 0.137576, 0.343212, -0.925443, -0.218329, -0.34466, -0.65397, -0.246399, -0.136963, -0.8577, -0.980413, 0.143808, -0.357475, -0.846778, 0.78291, 0.218663, 0.560728, -0.659867, -0.047037, 0.013822, -0.982339, 0.552446, 0.331225, -0.730386, 0.774556, 0.684101, 0.652634, -0.783598, 0.259433, 0.878576, 0.042716, 0.259463, 0.909222, 0.922598, -0.27543, -0.395279, -0.481838, -0.938371, 0.144401, 0.93175, -0.333471, 0.369483, -0.621085, -0.564829, 0.80984, 0.309512, -0.380479, -0.59369, 0.224066, 0.63758, 0.870298, 0.081739, -0.030429, -0.982449, -0.817121, -0.717165, 0.444707, 0.762329, 0.894164, 0.676888, 0.860617, -0.520772, 0.477806, -0.974136, -0.041279, -0.263904, -0.879229, 0.047458, -0.036977, -0.911822, -0.028227, 0.906597, -0.743412, -0.150791, 0.379206, 0.031509, 0.436235, 0.297141, -0.210753, 0.569159, 0.113698, 0.251317, 0.940917, 0.90031, -0.240503, -0.214537, -0.359914, -0.386821, -0.957511, -0.617747, 0.769996, 0.649004, 0.501584, 0.59991, -0.303653, 0.152373, 0.980311, 0.939813, 0.947698, 0.016201, -0.918747, -0.580006, -0.6756, 0.373441, -0.081376, -0.795277, 0.808163, 0.313148, -0.952352, 0.257746, -0.175071, 0.903096, 0.743823, -0.191935, -0.006462, -0.982379, -0.369052, 0.885569, -0.442064, -0.253906, 0.979275, 0.466501, 0.250279, 0.918989, -0.018075, -0.552255, -0.779057, 0.670121, 0.193301, 0.954185, -0.354254, 0.474797, -0.506009, 0.344422, 0.15415, -0.801428, -0.730285, 0.907842, -0.682314, 0.610659, 0.41444, -0.242882, 0.182759, 0.591442, -0.035775, -0.342293, 0.656185, -0.684146, -0.661849, 0.514685, -0.184947, -0.036236, -0.445603, 0.521266, -0.955136, -0.93023, -0.372067, -0.334927, 0.707866, -0.666886, -0.548278, 0.172589, -0.430656, -0.036741, 0.573853, 0.407743, 0.152786, 0.899797, 0.2257, -0.102985, 0.588611, 0.195412, 0.766974, -0.345273, -0.602946, 0.948093, -0.632556, 0.281069, -0.005108, -0.510043, 0.467206, 0.40839, 0.047672, -0.121442, 0.243344, 0.750187, 0.936759, -0.285894, 0.525703, -0.668661, -0.498804, 0.670442, 0.931295, 0.414601, 0.257918, 0.17001, -0.871825, 0.187021, -0.111588, -0.43244, 0.691973, 0.554803, -0.54603, 0.089423, -0.473954, -0.480573, 0.906575, 0.35041, -0.971451, -0.015407, 0.40669, 0.858526, 0.010829, 0.729498, 0.394718, -0.105513, 0.951469, 0.358318, 0.7331, 0.957293, 0.979831, 0.573623, 0.622401, -0.368851, 0.607278, 0.558672, 0.81787, -0.113822, 0.27728, -0.988326, 0.272902, -0.08964, 0.793732, -0.87398, -0.819355, 0.197418, -0.890136, 0.878853, 0.387616, -0.526091, -0.294721, -0.681149, -0.442036, -0.832638, 0.743681, -0.405061, 0.381696, -0.618681, -0.431826, -0.216701, 0.781484, -0.078102, -0.791953, -0.861833, -0.699099, -0.655659, -0.324552, 0.838495, 0.22575, 0.867537, -0.175272, 0.826654, 0.293355, 0.342308, 0.950104, 0.977413, 0.301017, -0.291221, 0.861931, 0.206372, 0.885967, 0.172526, -0.838081, 0.800076, 0.718332, 0.946155, 0.499677, 0.643611, 0.706966, -0.521115, 0.162412, 0.537115, -0.193675, -0.31303, 0.057727, -0.776977, 0.312365, 0.041476, -0.201317, -0.012325, -0.809958, 0.534925, 0.367051, -0.135173, 0.166498, 0.918229, 0.993332, -0.704219, -0.687695, 0.827088, -0.806947, -0.573136, -0.832225, -0.347881, 0.77725, -0.577082, -0.926355, -0.2127, 0.573027, 0.282137, 0.484414, 0.671527, -0.503405, -0.062631, -0.589348, -0.613213, 0.88365, -0.595205, -0.548982, -0.525068, -0.925633, 0.821342, -0.659577, 0.546506, 0.220729, -0.245882, 0.080867, -0.353695, -0.693592, 0.961053, 0.746804, 0.006292, 0.05585, 0.546645, -0.101783, 0.439754, 0.251581, 0.801777, 0.712769, -0.673479, -0.71515, 0.536101, -0.564986, -0.794899, 0.646889, 0.55179, 0.245631, 0.022524, 0.009383, 0.911417, -0.462768, -0.149599, 0.373193, -0.588968, -0.207045, 0.922323, -0.907597, -0.485823, 0.427036, -0.365334, -0.016955, 0.642288, 0.422853, -0.628919, -0.119833, -0.901554, -0.079955, 0.124833, -0.948531, -0.549889, 0.793716, 0.489367, 0.271314, -0.380642, 0.716997, 0.53631, 0.021736, -0.693663, 0.678874, -0.311185, 0.46893, -0.529694, -0.04688, -0.195862, -0.879324, -0.671223, -0.199829, -0.686255, -0.58519, 0.078189, -0.130616, -0.148267, 0.772958, -0.433742, 0.601109, -0.060766, -0.636212, 0.437423, 0.973552, -0.902525, 0.859963, -0.636482, -0.951281, -0.552698, 0.627373, -0.211822, -0.718199, -0.417009, -0.405455, 0.92004, 0.505843, 0.091329, 0.786258, -0.494013, 0.884069, 0.834379, 0.12859, -0.439657, 0.000348, -0.884459, 0.951671, 0.33588, 0.98562, -0.696516, -0.511193, -0.590149, 0.203698, 0.758763, -0.235708, -0.782322, 0.369433, 0.261806, -0.996356, -0.582082, 0.385064, 0.470689, 0.472471, 0.022517, 0.653193, 0.460888, -0.838995, 0.28281, -0.674587, 0.573032, -0.53662, 0.880913, -0.534889, 0.75892, 0.841746, 0.806641, -0.459468, -0.830421, 0.780316, 0.867393, -0.060853, 0.066551, -0.192332, -0.354313, -0.114907, -0.90474, 0.155105, -0.812404, 0.827751, 0.592988, 0.088853, -0.025354, 0.281927, -0.80028, -0.999257, -0.7326, 0.466403, 0.751421, -0.004501, -0.524457, -0.794032, 0.117805, 0.177502, -0.677559, -0.757426, -0.06712, 0.739926, -0.852478, -0.366057, 0.857387, -0.847861, 0.621267, -0.108489, -0.178739, -0.55316, 0.608799, -0.778848, -0.484387, -0.90188, -0.977138, -0.606793, -0.750075, 0.080169, 0.220141, 0.08781, 0.381089, 0.459904, -0.03204, 0.031248, -0.14221, -0.660411, 0.303576, -0.411381, 0.397417, 0.796837, -0.256525, 0.295159, -0.195594, -0.196307, 0.402043, -0.184148, 0.045983, -0.756564, -0.499438, 0.26568, -0.142435, -0.895694, -0.99617, -0.429765, -0.360516, 0.631486, -0.87639, 0.701724, 0.800426, 0.033977, 0.657542, 0.950956, -0.904548, 0.207629, -0.272068, 0.260756, 0.822078, -0.398276, -0.233793, -0.543665, 0.016456, -0.966157, -0.093817, 0.054073, -0.914807, -0.930512, 0.350499, -0.622973, 0.285755, 0.857777, 0.907433, 0.460435, 0.101346, 0.737089, 0.778812, 0.66698, 0.848276, 0.186502, -0.901572, 0.775239, -0.810165, 0.540699, -0.805534, 0.246665, -0.084901, -0.318412, -0.175768, 0.243833, -0.410232, -0.598694, -0.36668, -0.226491, -0.827378, 0.059425, 0.549472, -0.270673, 0.351423, -0.948709, -0.011525, 0.922619, -0.915934, -0.451177, -0.576486, 0.518948, 0.802735, 0.984176, -0.536015, 0.675633, 0.161738, 0.727988, -0.620059, -0.689955, -0.369706, 0.702609, 0.123199, 0.978091, -0.643435, 0.15192, -0.415992, -0.224138, -0.808304, -0.234824, -0.283688, 0.034261, 0.669001, -0.761001, -0.933229, -0.06561, 0.611848, -0.365885, 0.386504, 0.478375, 0.356062, -0.847959, 0.849282, 0.557145, 0.058897, -0.249083, 0.576394, -0.829129, 0.527318, 0.734469, -0.352924, 0.826658, 0.803949, -0.927502, -0.678331, -0.182743, -0.319813, -0.201229, -0.297918, -0.699014, 0.687331, 0.263963, -0.631533, 0.541139, -0.558706, -0.188222, -0.211751, 0.023633, -0.720594, -0.194751, -0.880716, -0.814853, 0.325631, 0.319359, 0.750507, 0.923991, 0.966062, 0.835645, -0.035155, 0.901013, 0.558559, 0.854461, 0.738225, -0.736249, 0.30574, -0.407741, 0.384299, 0.656488, 0.647259, -0.83699, 0.328903, 0.855726, 0.192024, -0.832147, -0.828861, 0.33739, -0.764985, 0.397623, -0.982432, 0.082137, 0.529691, -0.564349, 0.866884, -0.108165, -0.417539, -0.453722, -0.165877, -0.094318, -0.244514, 0.853407, 0.584051, 0.357496, 0.966087, 0.040976, -0.896223, 0.676213, 0.462707, 0.747361, 0.593658, 0.065797, -0.384644, 0.887592, -0.38915, 0.805294, 0.946061, -0.918104, 0.860822, 0.017625, 0.505978, -0.745591, 0.32033, 0.33489, -0.001726, 0.364068, 0.535542, 0.458175, 0.815696, -0.017378, 0.971655, 0.966557, -0.014633, 0.997035, 0.01892, -0.866967, 0.885959, -0.026912, -0.20805, -0.625896, 0.740179, -0.09024, 0.613273, 0.115731, -0.754843, 0.039277, 0.651146, -0.9464, 0.863647, 0.23876, 0.299027, -0.968305, 0.673892, -0.843373, -0.320433, -0.123855, 0.116658, -0.909651, 0.318836, -0.385467, -0.947301, -0.659277, 0.58019, -0.893621, 0.942039, -0.552806, 0.271235, -0.416489, -0.337011, 0.530651, -0.475501, 0.473811, 0.956119, 0.435462, 0.338707, 0.112815, -0.703836, 0.788682, 0.021871, -0.072205, -0.737391, -0.347508, 0.316875, 0.848552, 0.733992, 0.384213, -0.012527, -0.166783, -0.521751, 0.379818, -0.522901, 0.823939, -0.916389, -0.823796, 0.321777, -0.420141, 0.453341, 0.520864, -0.512615, 0.755188, -0.870765, -0.442503, -0.801638, 0.419878, -0.011155, -0.306051, -0.259692, 0.043104, -0.092102, -0.722446, 0.252333, 0.554212, -0.457039, -0.413539, 0.932999, 0.213439, 0.678089, -0.453537, 0.504586, -0.636833, 0.352254, 0.53728, 0.105616, 0.380702, 0.050807, 0.702855, 0.157911, 0.123753, 0.997271, -0.868928, 0.577227, 0.983976, -0.074736, 0.127217, -0.508413, 0.18773, -0.825723, 0.312163, -0.444427, 0.601415, -0.631425, -0.651872, 0.654007, -0.133352, -0.445431, -0.290574, -0.226806, 0.338372, -0.725727, 0.385189, 0.846063, -0.562044, 0.829932, -0.11423, 0.114906, 0.317538, 0.624893, -0.944717, -0.002636, 0.914995, 0.863046, 0.133533, -0.316522, -0.656869, 0.450169, 0.904083, 0.296396, -0.169485, 0.905091, 0.004446, 0.552072, -0.77608, 0.277672, 0.060536, -0.332175, -0.869935, -0.151709, -0.107077, -0.724359, 0.260613, 0.700013, -0.534317, -0.609452, 0.690574, -0.281649, 0.634603, -0.860235, 0.221485, -0.290641, 0.679641, -0.029428, 0.217593, -0.93887, -0.542375, -0.527096, 0.855159, -0.720253, -0.117559, 0.762766, 0.977344, 0.48399, -0.618465, -0.263786, 0.996497, -0.730344, 0.283664, 0.961112, 0.0865, 0.146969, -0.325463, -0.813431, -0.772539, -0.63497, 0.246644, -0.386042, 0.936938, -0.140075, 0.944296, 0.81748, -0.067837, 0.321314, 0.469365, -0.559912, 0.364753, 0.760145, 0.584106, 0.984646, -0.361681, -0.524615, 0.456196, 0.038338, -0.560232, 0.5779, 0.997685, 0.561696, 0.595549, 0.678114, 0.201296, -0.335258, -0.095336, -0.905338, -0.990698, 0.659629, -0.263657, -0.188172, 0.532682, 0.539267, 0.244997, 0.253013, 0.931041, -0.056738, -0.753922, 0.188259, -0.129722, -0.195106, 0.477611, 0.955594, 0.142494, -0.498074, 0.645917, 0.149004, -0.152982, -0.153312, 0.144446, -0.362418, 0.112003, 0.484061, 0.22024, -0.016184, -0.900073, 0.036137, 0.784773, 0.133736, 0.950982, -0.56954, -0.587224, 0.18547, 0.168323, -0.260408, -0.262243, 0.471721, -0.304161, -0.048071, 0.009152, 0.759394, -0.096923, 0.012187, 0.541848, 0.912229, 0.044522, 0.234065, -0.682927, -0.158465, 0.551989, 0.925135, 0.739071, 0.610472, -0.01362, 0.019718, 0.451721, -0.121254, -0.046923, 0.98049, 0.677929, 0.714465, -0.576908, -0.254527, -0.091514, -0.687581, -0.32328, 0.111773, -0.602441, -0.496988, 0.445815, 0.083821, -0.082299, 0.893716, -0.136196, -0.064137, -0.771906, -0.55088, 0.368138, 0.092481, 0.414957, 0.523402, 0.190163, -0.383318, 0.828163, 0.882542, -0.782282, 0.588642, 0.225975, 0.01646, 0.818545, 0.069759, -0.694246, -0.967012, -0.806714, -0.643482, 0.554778, -0.822287, 0.298471, -0.207418, -0.573235, -0.161224, 0.567321, -0.974305, -0.924659, -0.977346, -0.702989, -0.975292, -0.093524, -0.908253, -0.55289, -0.445219, -0.66193, 0.182252, 0.092968, -0.410094, -0.900943, 0.10914, -0.432151, -0.533745, 0.933649, 0.191152, -0.140981, -0.487598, -0.705687, -0.872934, -0.27253, 0.489704, -0.219288, -0.288491, -0.900173, 0.921341, 0.3661, -0.613108, 0.884188, 0.139922, -0.346087, -0.522208, -0.887948, -0.709379, -0.650161, -0.708062, 0.958959, -0.990817, -0.882159, -0.384952, -0.694891, -0.384228, -0.463361, -0.346324, 0.558741, 0.192822, 0.930569, -0.694867, 0.289907, 0.806953, 0.403517, -0.295312, 0.919915, 0.554237, 0.302038, -0.943319, 0.883264, -0.931982, 0.093723, -0.886868, -0.233094, -0.628941, 0.364252, 0.344091, 0.129751, 0.937438, 0.15165, -0.331961, 0.393217, 0.157474, 0.117416, -0.491051, 0.686625, 0.29248, -0.412632, -0.278025, -0.276566, -0.725231, 0.797837, -0.441507, 0.813227, 0.596242, -0.262442, 0.12668, -0.272339, 0.125095, -0.357097, -0.113549, -0.438434, 0.311058, -0.779749, 0.297233, -0.730107, 0.975243, -0.729508, 0.390309, -0.638829, 0.522344, 0.587595, -0.595072, -0.198694, 0.240756, 0.968242, 0.461854, -0.918761, -0.048988, -0.337942, -0.238989, 0.801674, -0.919306, 0.462533, 0.018816, 0.973462, -0.3499, 0.03583, -0.985388, -0.46821, -0.785275, 0.615897, -0.152186, -0.857252, 0.028267, 0.173754, 0.348583, 0.940068, 0.075613, 0.180071, 0.12097, 0.206894, -0.307443, 0.457207, 0.727704, 0.779897, -0.124644, 0.513754, 0.227788, 0.836907, 0.743838, -0.198261, -0.904183, 0.213529, -0.698224, -0.517015, 0.976812, -0.151993, 0.101568, 0.837127, 0.161834, 0.134565, 0.01749, -0.929974, -0.908251, 0.741546, -0.319135, -0.372134, 0.735029, -0.487553, -0.103641, -0.599272, 0.947061, -0.662877, 0.109065, -0.434216, 0.277355, -0.210899, -0.400437, -0.673124, -0.127868, -0.208888, 0.318307]\n",
      "out shape: (7, 1, 3, 1)\n",
      "out: [-0.63443, 0.057, 0.915434, 0.774556, 0.042716, -0.481838, -0.294721, 0.381696, -0.791953, -0.192332, 0.827751, -0.999257, -0.564349, -0.094318, 0.040976, -0.325463, 0.936938, 0.469365, -0.276566, -0.262442, -0.438434]\n"
     ]
    }
   ],
   "source": [
    "data_in_shape = (7, 6, 6, 6)\n",
    "L = Cropping3D(cropping=((3,2), (2,1), (2,3)), data_format='channels_first')\n",
    "\n",
    "\n",
    "layer_0 = Input(shape=data_in_shape)\n",
    "layer_1 = L(layer_0)\n",
    "model = Model(inputs=layer_0, outputs=layer_1)\n",
    "\n",
    "# set weights to random (use seed for reproducibility)\n",
    "np.random.seed(263)\n",
    "data_in = 2 * np.random.random(data_in_shape) - 1\n",
    "result = model.predict(np.array([data_in]))\n",
    "data_out_shape = result[0].shape\n",
    "data_in_formatted = format_decimal(data_in.ravel().tolist())\n",
    "data_out_formatted = format_decimal(result[0].ravel().tolist())\n",
    "print('')\n",
    "print('in shape:', data_in_shape)\n",
    "print('in:', data_in_formatted)\n",
    "print('out shape:', data_out_shape)\n",
    "print('out:', data_out_formatted)\n",
    "\n",
    "DATA['convolutional.Cropping3D.3'] = {\n",
    "    'input': {'data': data_in_formatted, 'shape': data_in_shape},\n",
    "    'expected': {'data': data_out_formatted, 'shape': data_out_shape}\n",
    "}"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "**[convolutional.Cropping3D.4] cropping (1, 2, 3) on 7x6x8x3 input, data_format='channels_last'**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2016-11-15T10:34:42.856366",
     "start_time": "2016-11-15T10:34:42.837264"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "in shape: (7, 6, 8, 3)\n",
      "in: [0.552932, -0.391563, 0.145352, -0.913287, 0.239969, -0.797865, 0.113016, -0.015543, 0.485166, 0.419961, -0.83219, 0.756209, 0.514834, -0.140546, 0.811136, -0.274515, 0.706663, 0.022525, -0.051553, 0.990059, -0.706901, -0.618589, 0.042919, 0.472082, 0.222432, 0.543026, -0.527015, 0.189191, 0.005629, 0.502652, 0.1252, -0.290988, -0.306937, -0.126483, 0.469071, -0.232995, -0.156825, -0.533997, 0.165413, 0.032944, -0.123496, -0.151654, -0.911871, 0.011792, -0.715693, -0.352744, 0.748372, 0.735725, 0.239828, -0.253998, -0.630254, 0.633554, 0.799631, -0.750882, 0.751927, 0.85789, 0.335157, -0.03868, -0.906432, -0.007475, -0.109547, 0.728283, -0.364401, 0.064281, 0.744773, -0.436497, -0.945798, -0.069515, 0.928977, 0.683572, -0.8726, -0.289312, 0.087812, 0.227353, -0.831422, -0.67108, 0.500418, 0.492954, 0.89731, -0.146691, 0.444627, -0.505485, -0.375672, -0.715253, 0.701297, 0.695526, -0.360664, 0.538686, 0.378611, 0.370014, -0.035763, -0.918841, -0.248974, -0.802044, 0.378476, 0.694623, -0.565235, -0.701098, -0.126973, -0.562546, -0.663932, 0.770913, 0.515695, -0.278422, -0.780122, -0.36797, -0.271988, 0.905672, 0.956295, 0.067556, -0.596416, 0.043891, -0.251358, -0.122596, -0.271995, 0.771433, 0.453408, 0.505405, -0.740381, -0.343052, -0.716468, -0.609471, -0.25965, 0.919427, -0.598315, -0.65529, -0.972942, 0.647437, 0.099539, -0.197465, 0.133586, 0.821973, 0.108019, -0.469635, 0.209943, 0.499653, -0.799359, -0.446252, -0.88259, 0.192946, 0.082613, 0.569489, -0.494669, 0.545828, -0.315844, 0.238813, -0.88821, 0.532254, -0.563085, -0.228269, 0.780009, 0.032083, -0.319231, -0.86483, 0.747309, 0.087839, -0.527222, -0.039401, -0.952073, 0.288322, 0.518077, 0.731037, -0.486223, 0.869424, 0.169052, -0.298972, -0.698644, -0.595955, -0.734445, -0.576024, -0.028123, 0.843765, -0.642064, 0.101355, -0.727038, -0.656385, 0.554622, 0.378986, -0.18567, -0.147545, -0.259606, 0.156545, -0.717878, -0.894499, -0.894029, 0.447647, 0.660037, 0.702308, 0.254603, -0.02343, 0.048776, 0.110113, -0.324964, 0.820057, 0.865682, 0.032295, -0.007244, 0.417782, 0.479672, -0.530201, -0.850524, 0.57764, 0.132439, 0.910782, -0.636661, -0.108427, 0.512615, -0.953069, 0.04599, 0.256079, 0.87632, -0.084771, 0.720888, -0.881557, 0.339755, 0.559932, -0.343703, 0.594663, -0.870027, 0.341354, -0.509839, 0.148319, 0.669631, 0.7594, 0.46455, -0.761538, -0.253966, -0.591122, 0.252467, 0.517584, 0.562246, 0.764693, -0.815437, 0.872928, 0.374029, -0.966791, 0.435495, 0.472188, 0.316068, 0.121007, 0.836562, 0.439313, -0.865302, -0.314443, -0.636654, 0.232243, -0.375608, -0.983483, 0.911811, -0.011738, 0.639313, -0.073588, -0.674928, 0.673042, -0.54568, -0.256802, -0.005641, 0.495703, -0.593713, 0.426142, -0.209883, 0.072729, 0.8172, 0.185169, -0.120199, -0.908193, 0.939409, 0.762324, 0.212512, 0.579963, -0.736525, 0.928914, -0.435811, 0.745623, 0.131868, 0.69876, -0.873206, 0.536616, 0.809673, -0.627036, -0.11039, 0.762632, -0.400735, -0.743118, 0.120356, 0.507299, -0.791819, -0.557385, 0.946971, -0.661281, -0.696149, 0.365465, -0.469664, -0.517657, 0.490849, -0.83665, 0.602221, -0.544641, 0.049349, 0.025047, 0.522491, -0.952776, 0.851411, 0.972384, 0.122072, 0.700024, -0.310192, 0.932512, 0.647777, 0.169687, 0.157323, 0.650739, -0.609297, 0.771263, 0.478693, 0.679423, 0.927393, 0.282678, -0.165658, 0.425544, -0.842485, -0.323878, -0.801298, 0.583853, 0.132385, -0.828146, -0.228917, 0.968815, -0.488973, 0.758221, -0.539292, -0.756242, -0.211129, 0.38151, 0.693266, 0.020397, -0.896811, 0.494928, -0.930032, 0.714915, -0.217275, 0.208693, -0.172212, -0.894424, 0.655236, 0.959226, 0.264088, -0.24509, -0.525404, 0.130652, 0.710521, 0.377131, -0.224163, 0.234506, 0.420682, -0.009999, -0.564526, 0.182725, 0.120952, -0.105306, -0.036452, 0.963711, -0.485148, 0.489759, -0.186174, 0.007551, -0.279015, 0.99143, 0.581001, 0.459992, -0.548211, -0.129499, -0.512361, 0.953579, 0.8654, 0.191998, -0.709853, 0.675139, -0.903894, -0.386467, 0.942548, -0.484833, -0.131755, -0.118272, -0.100289, -0.279418, -0.876433, 0.069159, 0.769375, -0.785335, 0.776335, 0.312024, -0.754091, -0.158992, -0.742639, -0.000786, 0.987912, -0.583303, 0.442813, 0.621718, -0.752474, 0.161465, 0.479715, -0.092114, -0.98285, 0.182926, -0.050242, -0.475992, 0.406011, 0.407224, -0.306946, -0.97525, -0.65476, 0.553016, -0.547917, -0.681256, 0.639825, -0.831444, -0.853096, -0.14065, 0.49261, -0.319185, 0.16836, -0.757226, -0.718218, 0.989506, 0.10174, -0.072814, -0.811249, -0.625561, -0.949089, -0.83842, 0.345526, 0.906703, 0.923047, 0.618198, 0.711296, 0.395395, -0.385331, -0.745365, 0.856799, -0.432597, 0.985449, 0.841148, -0.517842, 0.036072, -0.056757, 0.981462, -0.707281, 0.424999, -0.52459, 0.890533, 0.459934, -0.746298, 0.256064, -0.765501, -0.645562, -0.371976, 0.899245, -0.641295, -0.853633, -0.443435, 0.199224, -0.95802, 0.579817, 0.043103, 0.318966, 0.846739, 0.5758, 0.834396, -0.67799, 0.123024, 0.146095, 0.101171, -0.284766, 0.02444, 0.832683, 0.157063, 0.614361, 0.728003, -0.066255, -0.028598, -0.210104, -0.624818, -0.354966, -0.763458, -0.381756, 0.611477, -0.867395, -0.358915, 0.925979, 0.656968, -0.385544, 0.864226, -0.375078, -0.906244, 0.506389, 0.613637, 0.140944, 0.450536, -0.086864, 0.180086, 0.212534, -0.973851, -0.831893, -0.440306, 0.105263, 0.106657, -0.00178, 0.115537, 0.056705, 0.317577, 0.110824, 0.567692, 0.367596, -0.925945, 0.041652, -0.768622, -0.563986, -0.671608, 0.56857, -0.339031, -0.155376, 0.008244, -0.163946, -0.817625, 0.486723, 0.491516, 0.556896, -0.749484, -0.320257, 0.547991, 0.064361, 0.742634, -0.284167, 0.38286, -0.477705, 0.0616, 0.663545, 0.835639, -0.467357, 0.586625, -0.006385, 0.029998, -0.016281, 0.9945, -0.084143, 0.729256, -0.113911, -0.625124, -0.870468, -0.136714, 0.038895, 0.150721, -0.729968, 0.776437, 0.953598, 0.740779, -0.701201, 0.235871, -0.938543, 0.678896, -0.209093, 0.168897, -0.122768, 0.660623, 0.673951, 0.917643, -0.822147, 0.316585, 0.452364, -0.128659, 0.681446, -0.145561, -0.443973, 0.142253, -0.214438, -0.134716, -0.292241, 0.032388, -0.502834, 0.494057, -0.927104, 0.683911, 0.098366, 0.424614, -0.748699, 0.140511, -0.368834, -0.575243, -0.878809, 0.976614, -0.898129, -0.336643, -0.275722, -0.839051, -0.083828, -0.079109, -0.170735, 0.850256, 0.428653, -0.192746, -0.650444, 0.805599, -0.904445, -0.52848, 0.254209, -0.304287, 0.697569, -0.24084, -0.213066, -0.829446, 0.211602, -0.468701, -0.873023, 0.776543, 0.479864, -0.854709, 0.290743, 0.269042, 0.303507, 0.825484, -0.350281, 0.527806, 0.306531, -0.380415, 0.177994, 0.389269, 0.39013, 0.571741, -0.800163, -0.52541, -0.120161, -0.188094, 0.252368, 0.468262, -0.29529, -0.159899, 0.067066, 0.531398, -0.552879, -0.755479, 0.151718, 0.512324, 0.049247, 0.828744, 0.100693, 0.021147, 0.959561, -0.504759, -0.372063, 0.363682, 0.316628, 0.899939, -0.320231, -0.826401, 0.664093, -0.977921, -0.118587, -0.058308, 0.243291, -0.993812, 0.439848, 0.639079, -0.24307, 0.242194, 0.811189, 0.23877, 0.041865, -0.903856, 0.701513, -0.814141, 0.358556, 0.716946, 0.3184, 0.052189, -0.725381, -0.715884, 0.328818, -0.142231, 0.52051, 0.680007, -0.388166, -0.48949, -0.933759, -0.631734, 0.715184, -0.01953, -0.198268, -0.027043, -0.75827, -0.75053, 0.076122, -0.350163, -0.721161, 0.211658, 0.079194, 0.84718, 0.81396, 0.300779, -0.924642, 0.505361, 0.962908, -0.747298, -0.522527, -0.807261, 0.834946, 0.430102, -0.373709, -0.608553, 0.024678, -0.163521, 0.674944, -0.783462, 0.810318, 0.874626, -0.011796, 0.246424, 0.910059, -0.683633, -0.479507, 0.362514, -0.271837, -0.34765, 0.56343, 0.385024, -0.377627, -0.427922, -0.357301, 0.930701, 0.529309, 0.410059, 0.042469, -0.652207, -0.38668, -0.595703, 0.051819, 0.495089, 0.021722, 0.962676, -0.954313, 0.139877, 0.540186, 0.175063, -0.324261, -0.487979, -0.199865, -0.896863, 0.648591, -0.869016, -0.951801, 0.452265, 0.348446, -0.296498, 0.810559, 0.806663, 0.370251, -0.382893, 0.548505, 0.589625, -0.74622, -0.165752, 0.127169, -0.186261, -0.158653, -0.65933, -0.904527, -0.679857, 0.205036, 0.728642, 0.118326, -0.717343, -0.551836, 0.930701, 0.853455, 0.5641, -0.610849, -0.208156, -0.344898, -0.055826, -0.797474, -0.898262, -0.566794, 0.083414, -0.48116, -0.584135, -0.863701, -0.736389, -0.169939, 0.756208, 0.138972, -0.658742, -0.823399, 0.155078, -0.18297, 0.637366, 0.240719, 0.85602, -0.123857, 0.414817, 0.14346, 0.372528, -0.204021, 0.442165, -0.678351, -0.162768, 0.719583, 0.516144, -0.656037, -0.690264, 0.993811, -0.338322, -0.18689, -0.540153, 0.748306, -0.153805, 0.838753, 0.400404, -0.168491, 0.299029, -0.292792, -0.243604, -0.77467, -0.08768, 0.011335, 0.630618, 0.204284, 0.392751, -0.688328, -0.864995, -0.073438, 0.336554, -0.924764, -0.961972, -0.214482, 0.543822, -0.881113, -0.983055, 0.934399, 0.658597, -0.563213, 0.106173, -0.130723, -0.58558, -0.443773, 0.223094, 0.899055, 0.095484, -0.207172, -0.830627, -0.397182, 0.341325, -0.123243, 0.596399, -0.875153, -0.93581, 0.888101, 0.671833, -0.927909, 0.511214, -0.402201, -0.086074, -0.853926, -0.348003, -0.605128, -0.271734, -0.762964, 0.988386, 0.539577, -0.616057, -0.729645, -0.58795, 0.262559, 0.152953, -0.114154, 0.313668, 0.773053, -0.895236, -0.416643, -0.346566, -0.76097, -0.397088, 0.482053, -0.215059, 0.414056, 0.977476, -0.49225, -0.49018, -0.441177, -0.326074, -0.190574, -0.261837, 0.686362, -0.546126, 0.967277, -0.019489, 0.01811, 0.159162, -0.616736, -0.622531, 0.903911, -0.208688, -0.590032, 0.686109, -0.208874, 0.121996, 0.028657, 0.891889, 0.134002, 0.396799, 0.791501, 0.539969, 0.958577, 0.751278, 0.524415, 0.334321, 0.925085, 0.172782, 0.947395, -0.021699, -0.046773, 0.763599, 0.460609, 0.084225, 0.033512, -0.629975, -0.011106, 0.855574, 0.95406, 0.717087, -0.596293, -0.669326, -0.383462, -0.573114, -0.877369, 0.138406, 0.896811, 0.936472, 0.855075, 0.345105, 0.092838, 0.456724, 0.35745, 0.077662, 0.758578, 0.238703, 0.619724, -0.168825, -0.297418, 0.150061, -0.982698, 0.60999, 0.041587, -0.93194, -0.410268, -0.212141, 0.029014, -0.690042, 0.8538, 0.840465, -0.644825, -0.730661, 0.691654, -0.723687, -0.639771, 0.343885, -0.596438, -0.773411, -0.899021, 0.567725, -0.581406, -0.179768, -0.089435, -0.451126, -0.001679, -0.619262, 0.903379, 0.382629, 0.075807, 0.28274, 0.457147, -0.326116, 0.976684, 0.083537, -0.610611, -0.168666, 0.314676, 0.622596, 0.44941, 0.662349, -0.876431, -0.120824, -0.177648, -0.265469, -0.74144, -0.703276, -0.101114, -0.137743, -0.816946, 0.324263, 0.516855, -0.005136, 0.161216, 0.790886, -0.639271, -0.175949, 0.266368, -0.703774]\n",
      "out shape: (5, 2, 2, 3)\n",
      "out: [0.57764, 0.132439, 0.910782, -0.636661, -0.108427, 0.512615, -0.761538, -0.253966, -0.591122, 0.252467, 0.517584, 0.562246, 0.959226, 0.264088, -0.24509, -0.525403, 0.130652, 0.710521, 0.459992, -0.548211, -0.129499, -0.512361, 0.953579, 0.8654, -0.358915, 0.925979, 0.656968, -0.385544, 0.864226, -0.375078, 0.567692, 0.367596, -0.925945, 0.041652, -0.768622, -0.563986, -0.188094, 0.252368, 0.468262, -0.29529, -0.159899, 0.067066, -0.977921, -0.118587, -0.058308, 0.243291, -0.993812, 0.439848, -0.208156, -0.344898, -0.055826, -0.797474, -0.898262, -0.566794, 0.372528, -0.204021, 0.442165, -0.678351, -0.162768, 0.719584]\n"
     ]
    }
   ],
   "source": [
    "data_in_shape = (7, 6, 8, 3)\n",
    "L = Cropping3D(cropping=(1, 2, 3), data_format='channels_last')\n",
    "\n",
    "\n",
    "layer_0 = Input(shape=data_in_shape)\n",
    "layer_1 = L(layer_0)\n",
    "model = Model(inputs=layer_0, outputs=layer_1)\n",
    "\n",
    "# set weights to random (use seed for reproducibility)\n",
    "np.random.seed(264)\n",
    "data_in = 2 * np.random.random(data_in_shape) - 1\n",
    "result = model.predict(np.array([data_in]))\n",
    "data_out_shape = result[0].shape\n",
    "data_in_formatted = format_decimal(data_in.ravel().tolist())\n",
    "data_out_formatted = format_decimal(result[0].ravel().tolist())\n",
    "print('')\n",
    "print('in shape:', data_in_shape)\n",
    "print('in:', data_in_formatted)\n",
    "print('out shape:', data_out_shape)\n",
    "print('out:', data_out_formatted)\n",
    "\n",
    "DATA['convolutional.Cropping3D.4'] = {\n",
    "    'input': {'data': data_in_formatted, 'shape': data_in_shape},\n",
    "    'expected': {'data': data_out_formatted, 'shape': data_out_shape}\n",
    "}"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "**[convolutional.Cropping3D.5] cropping 2 on 7x6x8x3 input, data_format='channels_last'**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "in shape: (7, 6, 8, 3)\n",
      "in: [0.043846, 0.387057, -0.757079, -0.959987, 0.566604, 0.124696, -0.715944, 0.325624, -0.947555, 0.589722, 0.798926, -0.787785, -0.055168, -0.872683, 0.131572, 0.801173, -0.818468, 0.271571, -0.142291, 0.98768, 0.398116, -0.716819, 0.01385, 0.300547, 0.183212, -0.915166, 0.805221, 0.433358, 0.606754, 0.785643, 0.143923, -0.411014, 0.183676, -0.016775, 0.309725, 0.558666, -0.236681, -0.204503, -0.076547, -0.125679, 0.332762, 0.751278, 0.045644, 0.928204, -0.352747, 0.519829, 0.159496, -0.132149, 0.801091, 0.189018, -0.707627, -0.627894, 0.781566, 0.00825, 0.857472, 0.715349, 0.622698, -0.410016, 0.594011, -0.245787, 0.96277, 0.390469, 0.520997, -0.334586, 0.459968, -0.699742, 0.218636, -0.281006, -0.038763, 0.193717, 0.666298, 0.36883, -0.714969, -0.347243, -0.581006, -0.646797, 0.829818, -0.259413, 0.799303, -0.853115, 0.769081, 0.898216, 0.279398, -0.708436, 0.475212, 0.826851, 0.020094, -0.153576, -0.104129, -0.760511, -0.473047, 0.940764, -0.395157, -0.229786, -0.916145, -0.811178, 0.669076, -0.642102, 0.845859, -0.435343, 0.063115, -0.21176, 0.988692, 0.350829, -0.8658, 0.552288, -0.38621, -0.529895, 0.208359, 0.798045, 0.477992, -0.630668, -0.830842, -0.157504, -0.255437, 0.299291, -0.313303, 0.286265, -0.794935, -0.437572, -0.899535, 0.081122, 0.094617, 0.279048, 0.092846, -0.491994, 0.19029, 0.917586, -0.987566, -0.361124, -0.9644, 0.611835, 0.073082, 0.967786, 0.219968, 0.003636, 0.897912, -0.551779, -0.174889, 0.322685, 0.084844, 0.11946, -0.210693, 0.185586, 0.255131, -0.226105, 0.698796, -0.735712, 0.691644, -0.954068, 0.082516, -0.677588, -0.727572, -0.217925, -0.036308, 0.746602, -0.440883, 0.995687, 0.973463, 0.112591, 0.518248, -0.989987, -0.211891, -0.29495, -0.85471, 0.946302, -0.87119, -0.463681, 0.42762, -0.046948, -0.811625, 0.094678, -0.442138, 0.923323, -0.036331, 0.535717, 0.225766, 0.950662, 0.075253, -0.508096, -0.758873, -0.734086, 0.02533, 0.957113, -0.772954, 0.601644, 0.875384, -0.138894, -0.102083, -0.589556, 0.029889, -0.040244, 0.321281, 0.274103, -0.370982, -0.469439, -0.412811, 0.886377, 0.24295, -0.07835, 0.235036, 0.361379, -0.298048, 0.017156, 0.280408, 0.854661, 0.334594, 0.377894, -0.188442, -0.817378, 0.601653, -0.544568, 0.20688, -0.955979, -0.610727, 0.83147, -0.490239, 0.814372, 0.879806, -0.569241, -0.774526, 0.440254, 0.66168, -0.635172, -0.284764, 0.982888, 0.628501, 0.711431, 0.051407, 0.931172, -0.826667, 0.173472, 0.396511, 0.687331, -0.448939, 0.036281, 0.289265, -0.919222, 0.439861, 0.89679, 0.358382, 0.899539, -0.293465, 0.602783, 0.609556, -0.064656, 0.950135, -0.966239, -0.92985, -0.072733, -0.145011, 0.987823, 0.974229, 0.869934, 0.898978, 0.336015, 0.738676, 0.273152, -0.261819, 0.748001, -0.597413, 0.43742, 0.292128, -0.445195, 0.08216, -0.976806, -0.841681, -0.400997, -0.210064, 0.754699, -0.955236, -0.922535, 0.662501, -0.212456, -0.030263, 0.463658, -0.658032, 0.354742, -0.461468, 0.501586, 0.361726, 0.523179, 0.278897, 0.152804, 0.540205, 0.461409, 0.640202, 0.615065, -0.186569, -0.595374, -0.249853, -0.505774, 0.388983, -0.341326, 0.394611, 0.422496, -0.697824, 0.322419, -0.329647, 0.16361, 0.210585, -0.18548, -0.565761, -0.228973, -0.272735, -0.554274, -0.337679, 0.768161, -0.063768, 0.239, 0.188245, 0.542322, -0.908386, -0.402186, -0.425823, 0.819066, 0.927917, -0.274169, -0.835605, 0.207778, -0.088012, -0.80116, 0.783881, 0.787084, -0.839728, -0.14165, -0.878961, 0.455479, -0.778172, 0.22216, -0.459256, 0.510467, -0.448743, -0.23954, -0.586738, -0.488315, 0.503379, -0.460998, 0.260812, -0.970714, -0.960815, 0.994421, 0.368884, -0.282417, -0.217466, -0.926953, 0.424473, -0.47864, -0.452637, -0.576014, 0.481422, 0.976067, -0.631883, 0.995375, -0.641257, 0.568675, 0.099127, 0.676533, 0.971177, -0.650637, 0.575729, 0.12006, -0.391356, 0.17799, 0.181967, -0.97207, 0.1388, 0.417196, -0.503639, 0.354642, -0.503528, 0.808449, 0.517741, -0.032673, 0.539583, 0.039738, 0.964054, 0.545395, 0.37298, 0.28655, 0.659824, 0.688213, -0.003453, 0.061991, -0.559748, 0.061826, 0.745986, -0.202503, 0.241053, -0.062956, 0.55112, -0.249345, -0.860709, 0.240758, -0.716373, -0.897527, 0.752462, -0.34121, -0.909124, 0.805445, 0.816608, 0.972831, 0.823327, -0.047895, -0.147073, -0.612126, 0.872956, -0.133553, 0.005893, -0.30792, -0.990942, 0.712288, 0.522494, 0.338751, 0.78938, 0.496948, 0.188792, -0.604463, 0.459572, 0.432046, 0.614488, -0.510438, -0.133822, 0.861099, -0.948158, 0.661386, 0.293561, 0.639959, 0.915379, -0.136533, -0.699347, 0.87633, 0.594324, 0.471133, -0.969611, 0.386949, -0.047216, 0.229858, 0.672781, -0.952931, 0.351996, 0.80738, -0.985951, 0.011687, 0.078118, 0.502064, 0.147546, 0.584956, 0.184348, 0.629384, -0.412968, 0.959042, -0.948018, 0.598905, 0.498113, -0.392372, -0.724256, -0.627495, 0.523646, -0.220356, -0.427875, -0.29825, -0.630507, 0.04185, 0.938228, -0.750567, -0.989261, 0.392801, -0.116553, -0.74421, -0.417301, 0.868899, -0.84053, -0.257043, -0.337203, 0.61938, 0.450676, 0.621893, -0.904614, 0.961072, -0.624442, -0.108322, -0.828343, 0.547566, -0.209807, 0.579638, 0.567993, -0.175764, -0.155146, 0.041385, 0.065046, -0.648293, -0.010358, 0.538669, 0.594941, -0.523612, -0.504316, -0.375962, 0.168879, -0.428575, 0.016993, 0.053723, 0.243653, -0.367336, -0.823559, -0.804217, -0.956368, 0.573744, -0.1869, -0.561216, -0.358166, -0.082048, 0.547058, 0.517912, -0.471595, 0.704512, 0.124798, -0.305429, 0.105186, -0.467963, 0.389047, 0.08788, -0.956455, 0.934779, 0.639902, 0.371757, -0.45253, -0.837356, 0.623616, -0.638127, 0.738646, 0.135253, -0.929734, 0.459121, 0.837426, -0.501976, 0.604576, 0.951387, 0.080378, -0.700926, -0.129893, -0.918113, 0.133121, -0.215685, -0.141401, -0.163405, -0.768176, 0.70169, -0.9673, 0.553731, 0.132686, -0.34614, 0.554503, 0.363854, 0.98796, -0.434426, -0.692515, 0.530789, -0.11715, -0.805787, 0.318348, 0.679231, 0.137528, -0.018949, -0.447059, 0.195995, -0.844511, 0.708274, -0.864901, 0.057504, -0.978294, -0.11422, 0.515695, 0.398958, -0.987623, 0.138631, 0.639262, 0.792695, -0.60724, -0.664221, -0.563224, -0.213819, 0.230261, -0.022021, 0.153524, -0.278424, 0.548196, -0.947013, -0.484969, 0.213434, -0.493541, 0.933747, -0.307966, 0.804239, -0.128676, 0.162898, -0.31457, 0.181917, -0.093941, 0.654051, 0.256354, -0.322652, -0.058806, -0.465208, 0.580476, 0.593397, -0.153895, 0.223523, -0.808599, 0.361966, -0.372483, 0.038444, 0.746038, 0.921799, -0.793041, 0.708972, -0.890813, 0.627733, 0.779753, -0.442771, 0.955422, 0.981378, -0.781286, 0.854698, -0.051852, 0.203505, -0.162043, -0.610391, -0.704565, -0.61907, 0.781112, 0.379431, -0.84566, -0.663874, 0.15676, -0.62687, 0.703881, -0.924102, 0.918148, 0.319109, -0.660066, 0.096029, -0.408965, -0.798152, 0.192775, 0.223479, 0.501634, 0.487549, -0.780052, 0.651261, 0.085184, -0.436642, 0.730842, 0.272321, 0.212718, -0.570995, -0.556846, -0.898686, -0.077739, 0.029208, 0.146626, -0.661982, 0.75758, 0.404107, -0.113871, 0.828418, -0.909971, -0.400238, -0.072602, 0.871963, 0.400651, -0.665828, -0.320018, 0.206249, 0.997322, 0.603315, 0.54144, -0.682022, -0.665852, -0.588458, 0.820765, -0.785867, -0.494866, -0.131483, -0.494944, 0.573734, 0.769002, 0.126549, 0.989521, 0.289901, 0.166623, -0.001873, 0.006604, 0.905778, 0.892287, 0.265804, -0.803669, -0.717269, 0.234527, -0.423568, 0.103156, 0.399867, 0.721171, -0.615145, -0.772205, 0.030218, -0.767915, -0.796876, 0.422449, -0.67539, -0.693949, -0.624466, -0.721427, 0.349285, -0.605234, 0.352735, 0.049747, -0.739978, 0.413875, 0.508423, -0.003415, -0.522736, -0.92319, -0.151496, 0.935947, 0.834901, 0.832892, -0.900849, 0.87387, 0.116085, 0.90159, 0.309083, -0.181664, 0.959678, -0.731765, -0.601545, 0.974605, -0.947794, -0.4547, 0.795962, -0.020079, -0.081897, -0.053293, 0.89362, 0.92744, 0.945119, 0.425157, 0.968501, 0.862051, 0.104807, 0.379678, -0.916278, 0.291446, -0.128897, -0.618541, -0.54599, -0.011258, -0.369385, -0.483395, 0.052442, 0.869833, -0.681445, 0.550677, -0.087385, -0.680225, -0.172184, -0.479361, 0.892404, -0.691756, -0.623575, -0.959268, -0.350731, -0.184082, -0.71102, -0.013291, 0.973878, 0.683418, -0.403552, -0.3618, 0.562916, 0.667921, -0.435124, 0.980791, 0.107878, -0.216284, 0.582213, 0.2214, -0.284498, -0.6469, -0.057518, -0.280388, 0.960034, -0.828244, -0.934732, 0.189686, -0.114221, 0.401407, -0.213171, -0.971475, 0.550811, 0.671031, -0.324685, 0.484354, -0.222849, -0.564218, 0.227465, -0.541634, -0.94301, 0.098529, -0.91762, -0.287147, 0.124124, 0.999181, 0.645794, 0.080397, -0.746271, 0.323653, -0.493444, -0.414209, -0.729155, -0.936788, 0.292549, 0.753194, 0.99529, 0.0715, 0.000887, 0.832075, -0.473479, 0.691193, 0.220829, -0.507174, 0.005081, -0.656323, 0.572729, -0.850666, -0.969419, -0.056065, 0.612112, 0.561447, -0.16537, 0.479388, 0.756468, 0.653147, -0.373687, 0.185884, -0.506054, -0.554123, -0.634732, 0.468767, 0.868092, 0.36036, -0.849594, 0.985108, 0.27213, 0.995476, -0.935718, 0.334594, -0.498288, -0.719936, 0.907806, -0.814941, -0.138029, -0.459667, -0.987711, -0.669906, 0.096302, -0.677763, 0.872169, -0.704079, -0.979285, 0.143585, 0.496383, -0.859752, 0.376229, -0.26688, -0.420962, -0.872023, -0.50984, -0.65716, 0.032213, 0.138681, 0.639136, -0.469538, -0.183292, 0.777257, 0.092219, 0.784119, 0.039321, -0.772228, 0.521456, 0.234781, -0.253614, -0.02478, -0.710276, 0.682332, -0.736716, 0.586186, -0.135354, -0.886064, -0.053547, 0.926265, 0.300527, 0.299892, 0.710228, 0.401519, -0.67115, -0.039066, -0.562798, -0.126323, -0.521509, 0.347137, -0.130843, 0.482473, 0.408997, 0.544393, 0.175018, 0.725852, 0.326153, -0.186672, 0.676125, 0.843316, -0.744322, 0.319062, 0.197386, 0.573111, 0.900428, 0.827092, -0.646557, -0.870422, -0.465848, 0.918903, 0.923275, -0.207125, -0.563244, -0.442883, -0.793614, -0.171759, -0.97746, 0.097583, 0.146988, -0.879161, -0.008953, -0.401875, -0.75616, 0.902433, -0.135981, 0.206983, -0.037407, -0.470805, -0.910218, -0.05072, -0.766806, 0.164243, -0.282446, -0.737219, 0.582528, -0.37117, 0.305602, -0.409942, -0.852194, 0.134159, -0.027626, 0.844484, -0.125292, 0.762453, 0.611333, -0.08759, 0.319103, -0.588629, -0.498867, 0.073922, 0.925568, 0.028013, -0.282739, 0.074628, 0.99848, -0.301011, 0.45673, -0.860943, 0.152566, -0.09086, 0.663254, 0.334449, -0.175709, 0.455119, -0.084722, 0.697584, 0.243097, 0.700424, -0.145082, 0.094324, -0.071874, 0.1983, 0.207289, -0.49685, 0.961982, -0.715035, 0.275903, 0.395174, -0.485534, -0.417669, -0.525741, -0.678944, -0.437238, 0.907405, -0.13028, -0.710316, 0.239872]\n",
      "out shape: (3, 2, 4, 3)\n",
      "out: [0.368884, -0.282417, -0.217466, -0.926953, 0.424473, -0.47864, -0.452637, -0.576014, 0.481422, 0.976067, -0.631883, 0.995375, 0.1388, 0.417196, -0.503639, 0.354642, -0.503528, 0.808448, 0.517741, -0.032673, 0.539583, 0.039738, 0.964054, 0.545395, 0.567993, -0.175764, -0.155146, 0.041385, 0.065046, -0.648293, -0.010358, 0.538669, 0.594941, -0.523612, -0.504316, -0.375962, -0.358166, -0.082048, 0.547058, 0.517912, -0.471595, 0.704512, 0.124798, -0.305429, 0.105186, -0.467963, 0.389047, 0.08788, 0.781112, 0.379431, -0.84566, -0.663874, 0.15676, -0.62687, 0.70388, -0.924102, 0.918148, 0.319109, -0.660066, 0.096029, 0.212718, -0.570995, -0.556846, -0.898686, -0.077739, 0.029208, 0.146626, -0.661982, 0.75758, 0.404107, -0.113871, 0.828418]\n"
     ]
    }
   ],
   "source": [
    "data_in_shape = (7, 6, 8, 3)\n",
    "L = Cropping3D(cropping=2, data_format='channels_last')\n",
    "\n",
    "\n",
    "layer_0 = Input(shape=data_in_shape)\n",
    "layer_1 = L(layer_0)\n",
    "model = Model(inputs=layer_0, outputs=layer_1)\n",
    "\n",
    "# set weights to random (use seed for reproducibility)\n",
    "np.random.seed(265)\n",
    "data_in = 2 * np.random.random(data_in_shape) - 1\n",
    "result = model.predict(np.array([data_in]))\n",
    "data_out_shape = result[0].shape\n",
    "data_in_formatted = format_decimal(data_in.ravel().tolist())\n",
    "data_out_formatted = format_decimal(result[0].ravel().tolist())\n",
    "print('')\n",
    "print('in shape:', data_in_shape)\n",
    "print('in:', data_in_formatted)\n",
    "print('out shape:', data_out_shape)\n",
    "print('out:', data_out_formatted)\n",
    "\n",
    "DATA['convolutional.Cropping3D.5'] = {\n",
    "    'input': {'data': data_in_formatted, 'shape': data_in_shape},\n",
    "    'expected': {'data': data_out_formatted, 'shape': data_out_shape}\n",
    "}"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "### export for Keras.js tests"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import os\n",
    "\n",
    "filename = '../../../test/data/layers/convolutional/Cropping3D.json'\n",
    "if not os.path.exists(os.path.dirname(filename)):\n",
    "    os.makedirs(os.path.dirname(filename))\n",
    "with open(filename, 'w') as f:\n",
    "    json.dump(DATA, f)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{\"convolutional.Cropping3D.0\": {\"input\": {\"data\": [-0.806777, -0.564841, -0.481331, 0.559626, 0.274958, -0.659222, -0.178541, 0.689453, -0.028873, 0.053859, -0.446394, -0.53406, 0.776897, -0.700858, -0.802179, -0.616515, 0.718677, 0.303042, -0.080606, -0.850593, -0.795971, 0.860487, -0.90685, 0.89858, 0.617251, 0.334305, -0.351137, -0.642574, 0.108974, -0.993964, 0.051085, -0.372012, 0.843766, 0.088025, -0.598662, 0.789035, -0.971233, -0.917609, 0.10035, -0.993908, 0.001303, 0.151006, -0.222302, -0.462642, 0.318882, 0.910461, -0.951606, -0.628088, 0.858834, 0.18648, 0.005839, -0.976863, -0.602595, -0.907466, 0.537085, 0.254335, -0.624879, -0.26462, -0.597274, 0.717515, 0.933281, -0.928165, -0.664793, 0.350419, 0.604354, 0.134613, -0.170544, 0.287505, -0.342583, -0.908204, -0.055996, 0.686364, -0.877763, 0.666511, -0.333493, -0.283194, 0.764997, 0.702478, -0.495511, 0.451364, 0.945924, -0.238126, 0.146568, -0.281422, -0.379007, 0.914172, 0.337272, 0.175728, -0.945958, -0.727577, -0.133378, -0.069779, -0.952209, 0.237581, -0.244335, 0.838199, -0.187442, 0.255861, 0.28158, -0.60797, 0.992258, 0.16382, 0.240562, 0.353587, 0.300174, 0.216722, -0.422345, -0.239941, 0.354771, 0.567014, -0.085289, 0.751301, -0.255041, -0.656808, -0.220736, -0.275667, 0.568007, 0.251274, 0.888831, 0.976139, 0.040987, 0.474905, 0.181267, 0.707542, -0.570195, 0.897656, -0.91601, -0.419443, -0.346422, -0.770603, 0.883902, -0.490007, 0.470248, -0.217687, 0.365399], \"shape\": [3, 5, 3, 3]}, \"expected\": {\"data\": [-0.26462, -0.597274, 0.717515, -0.170544, 0.287505, -0.342583, -0.283194, 0.764997, 0.702478], \"shape\": [1, 3, 1, 3]}}, \"convolutional.Cropping3D.1\": {\"input\": {\"data\": [0.601872, -0.028379, 0.654213, 0.217731, -0.864161, 0.422013, 0.888312, -0.714141, -0.184753, 0.224845, -0.221123, -0.847943, -0.511334, -0.871723, -0.597589, -0.889034, -0.544887, -0.004798, 0.406639, -0.35285, 0.648562, 0.325102, -0.691014, -0.77342, -0.290393, -0.724779, 0.282119, 0.149588, 0.189558, -0.216989, -0.959622, -0.6309, -0.935622, -0.799247, -0.434939, -0.46504, -0.354178, 0.299364, -0.141294, 0.7451, 0.479026, -0.401207, -0.100649, 0.210378, 0.274347, 0.18857, -0.806871, -0.319347, -0.340714, 0.158351, -0.628744, -0.831363, -0.438345, 0.476498, 0.078437, 0.440929, -0.104442, -0.298102, -0.71911, -0.639047, -0.105697, -0.206569, 0.488046, 0.537381, -0.932015, -0.026858, -0.180384, 0.689, -0.211902, -0.748449, -0.998768, 0.240241, 0.981617, -0.543443, -0.402752, -0.155179, -0.786053, -0.6814, 0.856198, 0.5014, -0.030769, 0.537266, -0.51634, -0.651155, 0.746369, -0.479882, 0.830541, 0.809405, -0.088337, 0.323661, -0.837717, 0.205022, 0.64613, 0.53008, -0.524773, -0.465825, -0.737998, 0.002655, -0.409154, 0.386546, 0.732114, 0.943808, 0.972295, 0.887986, -0.903027, -0.068767, 0.325606, -0.292748, 0.987261, -0.459732, 0.560632, 0.305507, 0.950267, 0.412453, 0.230538, 0.040849, 0.241941, 0.785678, -0.743142, -0.162099, -0.713202, 0.830204, 0.672253, 0.27976, -0.860542, 0.628966, 0.884616, -0.200211, 0.258164, -0.222392, 0.68802, 0.51867, -0.14398, -0.236862, 0.045431], \"shape\": [3, 5, 3, 3]}, \"expected\": {\"data\": [-0.871723, -0.691014, -0.6309, -0.71911, 0.689, -0.786053, 0.887986, 0.950267, 0.830204], \"shape\": [3, 3, 1, 1]}}, \"convolutional.Cropping3D.2\": {\"input\": {\"data\": [-0.215694, 0.441215, 0.116911, 0.53299, 0.883562, -0.535525, -0.869764, -0.596287, 0.576428, -0.689083, -0.132924, -0.129935, -0.17672, -0.29097, 0.590914, 0.992098, 0.908965, -0.170202, 0.640203, 0.178644, 0.866749, -0.545566, -0.827072, 0.420342, -0.076191, 0.207686, -0.908472, -0.795307, -0.948319, 0.683682, -0.563278, -0.82135, 0.391356, 0.873557, 0.101774, 0.552487, -0.805471, -0.158387, 0.737777, 0.407663, 0.024323, 0.931444, -0.813418, -0.054911, -0.8488, -0.528392, 0.31073, -0.518975, -0.334317, 0.984459, 0.876118, 0.939272, -0.286813, -0.499695, 0.741409, 0.979405, 0.384731, -0.861441, 0.956879, 0.371096, 0.395767, -0.182768, -0.04864, 0.943523, 0.252702, -0.922957, 0.084044, -0.151514, -0.104476, -0.519114, 0.170185, -0.304221, 0.648458, 0.975786, -0.026504, 0.806763, -0.551306, 0.363744, -0.253539, 0.520681, -0.555914, 0.164078, 0.069617, 0.61564, -0.814065, 0.834879, 0.448904, 0.572477, -0.634663, -0.962277, -0.511182, 0.28331, 0.456662, 0.097291, -0.612782, 0.780788, 0.815368, -0.045092, -0.154594, -0.749131, -0.13425, 0.067759, 0.965334, -0.402963, -0.305027, 0.900762, -0.68091, -0.760497, -0.702999, -0.479565, 0.705878, 0.739556, 0.743407, -0.08787, 0.194838, 0.444586, -0.237847, 0.714397, 0.003476, 0.176333, 0.318089, -0.210574, 0.665183, -0.74621, -0.439604, -0.032897, -0.67171, 0.757381, -0.117032, -0.832812, 0.562207, -0.824057, 0.147708, 0.608499, 0.377938, -0.930702, 0.04294, -0.039472, -0.517352, -0.64207, 0.361295, -0.544495, 0.825223, 0.473357, -0.733994, -0.368548, 0.586403, -0.465342, 0.72613, -0.187859, 0.054425, 0.239031, 0.854588, 0.829812, 0.848903, 0.139064, 0.008025, -0.546984, 0.395519, -0.866557, 0.801336, -0.732569, -0.185929, 0.152884, -0.953483, 0.930523, -0.54922, -0.093218, 0.325075, -0.719152, -0.633034, -0.753904, 0.344891, -0.963772, -0.446026, 0.286814, 0.756519, 0.372178, 0.071732, -0.188247, 0.693894, -0.43033, -0.903031, -0.492189, 0.899836, -0.552368, -0.553622, -0.679484, 0.016195, 0.891604, 0.779606, 0.149406, 0.752016, -0.695177, -0.930224, -0.664835, -0.79635, 0.423615, -0.254402, 0.159415, -0.15244, 0.820635, 0.770241, 0.815006, -0.485857, 0.294987, 0.964034, 0.134613, 0.673378, -0.376272, -0.808101, 0.412723, 0.573529, 0.005777, -0.053066, -0.700318, 0.235987, -0.068263, 0.247649, -0.404731, 0.203814, -0.329107, -0.468369, 0.802557, 0.66231, -0.149117, -0.138193, -0.101905, -0.035625, -0.443804, -0.78221, -0.073352, 0.550544, 0.364402, 0.969535, -0.108104, -0.87979, -0.49984, 0.412514, -0.689554, -0.126264, -0.471823, -0.446719, -0.720356, 0.457369, 0.985619, 0.607835, 0.48972, -0.515463, -0.124945, -0.114273, 0.005033, 0.791923, 0.351923, -0.290373, -0.951029, 0.913971, -0.539169, -0.028312, -0.036768, -0.850635, -0.167548, -0.168993, -0.923405, 0.853735, -0.154032, 0.30117, -0.244491, 0.191919, -0.825866, 0.634476, -0.098177, 0.365853, -0.976385, -0.992225, -0.707116, 0.487679, 0.0492, -0.463333, -0.173074, 0.83129, -0.141277, -0.806725, -0.935533, 0.843659, 0.476078, -0.071665, 0.159787, -0.917204, -0.54939, 0.593851, -0.599885, 0.524063, 0.326937, -0.238377, 0.097153, 0.343496, -0.58839, 0.830905, 0.442858, 0.462174, 0.705181, 0.048056, -0.938781, 0.653592, -0.730406, -0.929912, 0.897714, -0.735706, -0.410101, -0.955015, -0.001601, 0.085032, -0.055787, -0.944858, -0.793914, 0.000563, -0.16397, 0.33181, -0.289269, 0.10943, 0.944269, -0.193446, 0.48286, -0.195952, -0.511226, -0.448196, 0.695966, -0.12916, -0.713753, -0.64093, 0.716985, -0.098099, 0.123401, -0.056109, 0.010111, 0.352437, -0.509194, 0.750921, 0.253841, -0.708165, 0.821124, 0.006613, 0.098428, -0.78475, -0.60798, -0.947196, 0.282283, -0.262235, 0.53522, -0.864729, -0.119298, 0.936872, 0.180087, 0.977898, -0.025644, -0.558908, 0.715291, 0.000521, -0.764904, 0.319351, 0.980566, -0.786352, -0.532971, 0.22349, -0.716549, -0.310122, -0.487408, -0.440706, 0.977597, 0.983465, 0.234706, -0.604104, -0.965578, -0.580777, -0.791097, -0.091303, 0.973252, -0.612431, -0.843771, 0.759226, -0.496212, -0.798771, 0.088759, -0.344253, 0.431093, -0.794068, -0.225465, 0.339765, 0.130517, -0.512642, -0.109772, -0.90458, 0.404718, 0.704574, 0.758276, 0.659395, 0.443485, 0.506577, -0.883215, 0.828717, -0.532839, -0.743989, -0.561542, 0.237909, -0.11387, 0.580675, 0.939269, 0.922755, -0.262718, 0.345844, 0.690802, -0.151282, 0.655477, 0.035601, 0.611308, -0.530814, -0.8206, -0.524242, -0.493136, -0.074615, -0.412433, -0.082067, -0.188891, 0.788821, -0.264136, -0.188681, -0.001166, -0.237385, 0.716098, -0.055445, 0.903261, -0.690342, 0.345747, -0.8422, 0.681083, -0.880773, -0.47829, -0.087262, 0.286764, -0.73948, 0.938692, -0.734384, 0.836267, 0.428397, -0.284466, 0.087184, 0.565192, -0.92756, -0.617862, -0.902012, -0.97077, -0.3262, -0.117703, 0.324541, 0.790994, 0.960735, 0.858284, 0.35247, 0.199395, -0.886025, -0.403741, 0.286867, -0.745825, -0.575954, 0.393387, 0.161558, 0.933436, -0.04139, 0.712661, -0.621411, -0.704434, 0.374135, -0.71425, 0.502797, 0.034642, 0.633788, -0.449388, -0.593975, 0.805345, -0.399393, 0.518122, -0.382023, -0.698987, 0.925711, -0.808321, 0.670118, -0.306688, 0.038679, -0.880873, -0.105844, -0.335898, 0.321574, 0.976045, 0.664659, 0.341049, -0.813552, -0.181204, -0.457684, -0.944205, 0.130818, 0.91465, 0.375795, -0.83426, -0.884669, 0.884202, 0.524805, 0.866177, 0.605792, -0.143796, -0.468536, -0.848138, -0.471953, -0.958303, 0.221358, -0.120887, -0.368682, -0.346116, -0.182678, -0.569586, 0.328268, 0.744066, -0.089028, -0.413939, 0.966069, 0.806133, 0.811337, -0.216864, 0.519711, 0.532548, 0.782122, -0.594866, -0.414185, -0.96614, 0.504274, 0.770258, -0.81789, -0.441714, -0.43652, 0.582823, 0.838065, -0.213008, -0.643435, 0.230493, -0.679991, -0.179979, -0.931999, -0.154311, 0.96013, -0.202379, 0.473898, 0.401901, 0.485608, 0.835172, 0.767556, -0.318512, 0.869208, 0.091651, -0.450239, 0.921468, 0.980922, 0.874128, -0.457308, -0.78107, -0.604558, -0.107902, -0.868826, 0.761486, 0.985782, 0.18808, 0.034727, -0.51135, 0.007318, -0.412556, -0.575671, 0.262399, -0.431255, 0.236753, 0.234476, -0.009731, -0.469543, 0.335344, -0.006414, 0.127297, -0.300389, 0.608195, -0.556598, 0.611592, 0.828308, 0.66101, 0.139477, -0.559037, -0.34807, 0.920787, 0.967347, 0.615015, -0.182736, 0.942934, -0.622099, 0.944364, -0.700525, 0.283057, 0.214233, -0.352612, -0.391157, -0.6866, -0.949089, -0.830036, 0.028655, 0.160321, 0.962427, 0.771235, 0.701332, -0.073448, -0.880306, -0.67372, 0.579104, 0.832739, -0.451863, 0.830591, -0.393846, -0.87822, 0.432681, -0.222904, -0.855099, -0.703505, -0.723594, -0.401981, -0.304913, -0.60108, -0.207273, -0.259013, 0.065798, 0.244318, 0.518287, -0.047123, 0.769841, -0.833204, -0.936774, 0.74598, -0.557437, -0.221576, -0.913191, 0.108353, 0.115733, 0.013277, 0.439679, 0.422073, 0.303912, -0.021176, -0.91273, -0.909738, 0.559815, 0.621811, 0.907303, 0.34733, -0.143574, -0.215208, -0.919455, 0.860239, 0.041072, -0.011693, -0.787824, 0.551498, 0.966032, -0.763429, 0.548998, 0.155827, -0.539245, -0.508795, -0.076923, -0.430267, -0.026247, 0.110006, 0.050526, 0.312362, -0.29318, -0.913974, -0.018903, 0.348191, 0.43283, -0.339458, 0.67296, -0.503704, -0.126925, 0.126921, 0.681079, -0.18157, -0.846449, 0.561337, -0.162773, 0.578579, 0.845398, -0.535639, 0.928576, -0.333678, 0.755441, 0.76015, 0.329895, 0.144662, -0.208612, -0.298499, 0.978054, 0.087719, 0.56864, 0.791894, 0.633447, -0.829405, 0.696793, 0.844902, 0.639941, 0.855367, -0.563831, 0.11538, -0.838183, -0.340807, -0.765973, -0.201738, 0.901256, 0.461485, -0.922959, -0.543252, 0.247037, -0.603098, 0.143447, -0.298636, 0.255228, 0.555237, -0.142739, 0.094639, -0.003793, 0.585846, 0.795219, -0.16835, -0.51469, 0.478591, -0.749477, 0.155347, 0.706903, 0.047964, 0.239316, 0.790049, 0.707638, -0.367523, -0.852255, 0.309914, 0.848387, -0.859448, -0.273302, -0.337586, 0.048332, 0.927994, 0.564126, 0.254753, -0.573478, -0.346197, -0.715717, -0.051958, -0.494504, 0.599351, 0.984027, 0.23743, 0.854292, 0.20021, 0.100571, -0.407464, 0.395228, 0.987905, 0.195573, 0.58147, 0.06667, 0.854165, 0.416721, 0.034649, 0.241931, -0.819904, -0.738848, 0.008158, -0.725937, 0.478754, 0.883892, -0.11895, 0.422474, 0.755278, -0.107855, 0.893582, -0.656121, 0.169792, 0.026624, -0.854244, 0.043245, 0.013092, 0.906277, 0.050616, 0.137537, 0.123879, -0.829904, -0.8344, -0.500271, 0.187797, 0.480912, 0.689756, 0.648658, 0.112738, 0.480717, 0.050545, -0.517454, 0.646335, -0.520894, 0.298304, 0.00373, 0.176349, -0.112375, -0.844539, -0.292901, 0.027739, 0.113266, 0.867302, 0.893293, 0.951617, 0.858295, 0.403715, -0.694067, 0.018322, 0.604787, 0.904331, -0.877118, -0.381556, 0.302968, -0.884946, 0.634482, 0.2684, 0.07795, -0.552023, -0.497385, -0.001392, 0.613874, 0.312707, -0.516964, 0.07461, -0.532681, 0.097518, 0.018129, -0.312512, -0.860073, 0.318977, -0.744195, -0.150664, -0.53404, -0.428665, -0.174314, 0.247514, -0.595893, 0.748659, -0.37269, 0.780516, 0.655175, -0.511935, -0.747456, 0.111773, -0.309556, 0.636038, -0.256566, -0.724825, -0.316549, -0.868989, -0.706117, -0.824815, -0.618301, 0.856392, -0.996149, 0.63829, 0.880169, 0.893699, -0.893984, -0.046652, 0.315952, -0.44143, -0.864354, 0.892476, -0.211045, 0.059187, 0.57039, -0.997778, 0.191066, -0.830022, 0.650504, -0.530842, 0.058659, 0.952869, -0.157372, 0.92573, 0.928522, -0.45409, -0.778338, -0.363509, -0.763773, 0.679892, 0.241852, 0.351275, -0.258137, 0.395351, -0.381122, 0.709346, 0.375105, 0.28349, -0.151699, -0.887474, -0.980568, -0.84615, 0.90203, 0.770327, 0.159608, -0.959841, 0.784576, 0.545309, 0.493765, -0.27253, 0.655846, 0.553353, 0.152227, 0.438126, 0.987307, 0.403776, -0.232088, -0.605441, -0.090541, -0.189261, -0.999625, 0.538246, 0.532891, -0.374952, -0.508505, 0.346032, -0.344552, -0.550043, -0.935551, -0.99107, -0.301938, -0.168825, 0.35326, -0.599303, -0.654331, -0.261841, -0.571388, 0.698991, -0.078255, -0.195565, 0.691759, -0.628298, 0.697236, 0.670352, 0.110078, -0.137484, -0.965838, 0.499479, -0.931003, 0.565995, -0.289345, 0.171825, 0.893263, -0.698565, 0.106203, 0.78723, -0.507623, 0.23409, -0.072888, 0.972045, -0.156797, -0.18569, -0.816269, 0.086552, -0.862185, 0.977191, -0.818147, -0.917344, -0.578661, 0.216002, 0.390336, 0.227703, 0.962969, 0.885609, -0.2223, 0.669628, 0.042634, -0.939601, -0.949383, -0.383965, -0.42231, -0.374712, 0.387369, 0.646834, 0.872373, -0.217432, -0.860018, -0.730193, -0.842808, -0.088775, -0.45984, -0.641785, 0.361352, 0.617324, 0.281634, -0.267519, -0.104152, 0.065566, 0.638451, -0.99023, 0.122453, -0.581285, -0.84508, -0.213483, -0.018054, -0.2835, 0.951819, 0.731384, -0.241599, -0.941958, -0.47496, -0.704789, -0.267755, -0.299397, 0.475516, 0.224848, -0.613151, 0.853631, -0.285596, -0.984425, -0.004342, -0.558075, -0.498553, 0.272694, 0.068413, 0.598389, -0.558155, -0.463243, 0.118942, 0.392428, 0.585269, 0.559008, 0.509983, -0.719725, 0.899859, -0.054641, 0.56467, -0.088496, -0.246774, -0.909083, -0.635166, -0.180455, -0.566009, -0.304824, -0.337654, -0.28894, -0.930163, -0.180485, -0.515424, 0.710147, -0.606524, 0.985967, 0.888985, 0.645856, 0.745228, 0.442467, -0.309917, 0.726975, 0.019567, -0.140183, 0.614124, -0.856526, -0.568601, -0.90666, -0.746201, 0.89231, 0.328027, 0.670873, 0.772824, -0.249407, -0.225128, -0.309643, 0.055451, 0.397084, -0.015763, -0.104947, 0.946976, 0.373816, -0.485013, 0.004047, -0.892327, 0.812327, 0.013913, 0.817028, -0.083667, 0.727218, -0.856644, 0.181954, -0.947651, 0.517506, 0.385722, -0.222445, -0.129355, -0.155133, -0.186532, 0.134046, -0.181235, 0.701509, 0.10727, -0.223625, 0.990662, -0.071366, 0.751143, 0.855357, 0.084802, -0.832278, -0.053375, -0.19636, -0.903927, 0.513069, 0.618, -0.530257, 0.910113, -0.970662, 0.740255, -0.542166, 0.70816, 0.340971, 0.015036, -0.561873, -0.576902, 0.959876, -0.552993, 0.25889, -0.901, 0.269618, 0.946302, 0.943612, 0.326183, -0.988706, 0.354102, 0.675289, -0.567086, -0.11179, 0.792741, -0.225879, 0.084516, -0.663273, -0.006569, -0.602323, -0.837099, 0.090505, 0.058281, 0.048858, -0.123648, 0.270346, -0.663069, 0.261073, 0.202716, -0.108538, 0.08633, -0.588139, 0.245405, 0.370942, -0.920384, -0.283831, 0.181426, 0.215151, 0.286008, 0.068399, 0.495306, 0.582592, 0.961226, 0.388063, 0.164688, 0.940278, 0.246888, -0.365183, -0.985746, 0.680361, -0.70754, -0.638368, -0.194461, 0.012646, -0.833634, -0.946438, -0.317705, -0.936933, -0.114303, -0.200694, 0.869011, 0.605997, 0.160927, -0.226291, -0.443921, 0.170021, -0.678198, -0.008692, -0.866096, 0.473826, 0.008789, -0.907462, 0.227272, -0.774721, 0.275255, -0.17879, 0.297924, 0.190216, 0.796589, 0.564772, 0.676277, 0.347743, 0.993239, -0.800231, -0.825401, 0.604841, -0.078256, -0.981104, -0.590065, -0.690202, -0.140628, -0.281607, 0.13361, 0.487755, 0.703334, -0.048199, -0.729918, 0.638745, -0.930051, 0.792881, 0.560942, 0.984295, -0.026256, -0.807647, 0.037724, -0.883297, 0.527074, -0.058281, -0.343332, 0.832498, -0.823443, -0.868069, -0.665845, -0.68803, -0.204482, -0.56854, 0.589662, -0.68208, -0.711295, -0.324815, -0.363985, -0.141501, 0.180616, 0.098551, 0.356221, 0.76361, -0.495118, -0.619777, 0.267608, 0.089808, 0.008487, 0.674874, -0.490058, 0.251746, 0.422547, 0.257684, 0.125063, -0.211933, -0.5837, 0.899513, -0.843382, 0.809206, 0.015723, 0.099545, 0.847903, 0.857367, 0.519134, -0.417192, 0.941586, -0.080451, -0.848042, 0.211095, -0.772879, 0.89962, 0.423203, 0.512657, 0.319136, 0.45159, -0.624661, 0.753426, 0.435051, 0.529813, -0.230807, 0.888217, -0.166501, 0.465283, 0.651958, 0.519247, -0.225627, 0.382678, -0.629582, 0.551638, 0.929462, 0.314522, 0.614207, 0.823258, 0.56108, 0.86222, 0.19359, 0.244032, -0.378665, -0.005995, -0.292157, 0.168248, -0.429104, 0.014448, -0.882993, -0.234892, 0.514872, -0.502579, 0.118967, 0.07172, -0.850605, -0.607353, -0.138796, 0.331546, -0.847802, -0.932981, 0.084612, 0.010107, 0.32207, 0.801925, 0.997006, 0.326342, -0.226299, -0.748639, -0.730569, 0.262857, 0.413763, 0.066078, 0.089592, 0.27274, -0.05279, -0.45969, 0.459876, -0.440616, -0.584216, 0.786428, -0.973574, 0.061268, 0.092513, -0.567305, -0.81828, -0.918282, 0.664616, -0.575549, 0.971633, -0.982765, -0.632645, -0.800731, -0.21014, 0.826888, -0.155641, 0.144107, -0.920645, -0.991449, -0.000424, 0.300884, 0.1739, 0.015016, -0.977229, 0.095473, -0.747487, -0.04811, -0.136179, 0.468823, 0.927328, -0.555573, -0.527881, 0.645769, -0.477288, 0.346913, 0.293331, -0.322506, -0.486036, 0.944806, -0.511478, 0.899668, -0.303661, 0.873202, 0.723627, -0.538803, -0.541068, -0.667583, -0.461309, 0.929536, 0.935886, 0.219344, 0.039384, 0.043505, 0.921023, 0.774462, -0.165124, 0.534882, -0.491295, 0.64098, 0.91552, -0.657771, -0.558026, -0.790053, -0.191911, -0.308405, -0.04291, -0.448419, 0.21546, -0.242481, 0.808682, -0.01429, -0.20858, 0.441844, -0.943866, 0.320261, 0.523448, 0.585242, 0.090222, 0.800684, 0.112569, 0.30048, -0.66428, 0.752563, 0.22063, 0.918407, -0.76884, 0.825441, -0.044886, -0.039001, -0.828224, 0.433909, -0.700554, -0.84114, -0.65443, 0.292814, 0.275683, 0.124566, 0.551632, -0.010923, 0.678319, 0.628851, -0.458944, 0.800552, -0.397508, 0.98454, -0.965652, -0.20582, 0.820265, -0.132816, -0.278788, -0.856228, 0.139643, 0.703275, -0.322692, -0.338363, 0.378641, -0.28617, 0.101698, 0.433472, 0.068613, -0.148242, -0.466705, 0.738394, -0.410927, 0.984962, 0.405669, 0.125866, -0.982088, 0.955039, 0.845436, -0.745603, 0.446631, 0.78486, 0.369507, -0.380944, 0.883958, 0.268992, 0.106985, 0.97518, -0.222182, 0.831121, 0.946638, -0.357391, -0.347985, 0.787543, 0.209383, 0.476927, -0.374685, 0.693189, 0.60696, -0.978613, 0.289488, 0.943956, 0.035094, -0.89281, 0.105184, -0.666919, 0.304481, -0.955062, 0.925374, 0.157778, -0.468151, -0.31179, -0.012953, 0.164448, -0.656307, 0.343733], \"shape\": [7, 6, 6, 6]}, \"expected\": {\"data\": [0.795219, -0.16835, -0.51469, 0.478591, -0.749477, 0.155347, 0.195573, 0.58147, 0.06667, 0.854165, 0.416721, 0.034649, 0.480717, 0.050545, -0.517454, 0.646335, -0.520894, 0.298304, 0.691759, -0.628298, 0.697236, 0.670352, 0.110078, -0.137484, 0.042634, -0.939601, -0.949383, -0.383965, -0.42231, -0.374712, -0.267755, -0.299397, 0.475516, 0.224848, -0.613151, 0.853631], \"shape\": [2, 3, 1, 6]}}, \"convolutional.Cropping3D.3\": {\"input\": {\"data\": [0.146568, 0.515731, 0.134536, 0.043205, 0.83382, -0.586258, 0.983022, -0.20072, 0.957428, -0.534388, 0.086582, 0.736441, 0.70589, 0.631127, -0.554697, -0.905576, 0.339993, 0.392332, -0.964003, -0.634941, 0.026777, 0.974543, 0.873564, 0.002092, -0.851041, 0.956249, 0.644129, 0.507722, -0.483208, 0.909996, -0.706016, -0.222652, -0.888891, -0.784948, -0.114098, -0.145975, -0.951592, -0.499689, -0.371706, 0.254782, 0.091264, -0.847246, 0.811012, -0.307217, 0.661773, 0.296799, 0.568937, -0.74828, 0.961128, 0.983882, -0.6555, -0.430288, 0.155451, -0.54652, 0.574678, 0.997315, -0.155701, -0.707259, 0.013075, -0.031526, 0.246938, -0.598347, -0.839284, 0.322527, -0.479531, -0.403987, -0.130843, -0.794677, -0.525219, -0.427038, -0.886764, -0.380128, -0.248709, -0.634349, 0.635426, -0.422687, 0.105558, -0.000606, 0.414652, 0.530061, 0.617177, 0.539295, -0.683667, -0.917674, -0.305118, 0.554795, 0.332407, -0.593635, 0.931082, -0.054595, -0.977532, -0.869297, -0.79651, 0.823621, -0.818625, 0.324353, 0.633491, 0.941217, -0.209567, 0.047751, -0.156702, -0.30963, 0.902996, -0.251934, -0.761763, 0.961525, -0.717229, 0.72669, -0.19004, 0.877499, -0.381771, -0.655345, -0.842388, 0.344533, 0.335824, 0.402812, 0.096828, 0.34374, -0.04072, 0.753902, 0.623616, -0.157689, -0.63443, -0.303468, -0.50756, -0.848359, -0.997796, -0.600235, 0.057, -0.296764, -0.978223, -0.804866, 0.432025, 0.575883, 0.915434, -0.307259, 0.70806, -0.849986, -0.535359, 0.951492, 0.378912, 0.435011, 0.493822, 0.610953, 0.688725, 0.135737, 0.610872, -0.040927, 0.56398, -0.877009, -0.241415, -0.696018, -0.906501, -0.647268, 0.313708, -0.151553, -0.988233, 0.718184, -0.11296, -0.125418, 0.37261, -0.307025, 0.007584, 0.662663, -0.188191, 0.191423, 0.647629, 0.489008, 0.453111, 0.994356, -0.092459, 0.156034, -0.468973, 0.229634, 0.332453, -0.587996, 0.537969, 0.530188, -0.954784, 0.835599, -0.591753, 0.956275, -0.108191, 0.303352, 0.041919, 0.868325, -0.892379, 0.664313, -0.650765, 0.497537, -0.153089, 0.699751, -0.247635, 0.843126, -0.124075, -0.303422, -0.070858, 0.87021, -0.517, 0.783843, 0.514101, -0.954991, 0.839109, -0.445843, 0.141285, 0.810906, -0.549008, 0.625467, -0.539765, 0.384235, 0.809025, -0.28048, -0.040474, 0.211926, 0.711552, -0.283254, -0.560281, 0.641999, 0.955289, -0.23473, -0.505493, 0.296908, -0.735472, 0.673408, -0.827954, -0.953378, -0.40724, -0.755562, -0.455332, -0.845908, 0.267078, 0.678227, -0.262403, 0.502456, -0.899261, 0.675189, 0.729789, -0.518647, -0.885873, 0.554472, 0.019331, 0.064872, -0.74064, -0.346075, -0.719156, -0.490914, -0.617166, 0.183482, 0.154503, 0.911372, -0.138586, -0.860584, -0.435806, 0.978026, -0.211456, 0.311005, -0.09029, 0.75982, 0.352321, -0.279402, 0.285902, -0.571848, -0.207983, 0.492265, -0.714098, -0.305123, 0.425632, -0.152492, -0.633904, 0.807944, -0.456205, -0.774147, 0.041522, 0.571239, 0.185902, -0.669458, 0.903198, -0.482557, 0.43623, 0.11452, -0.429771, -0.770557, -0.415143, 0.300797, -0.508437, 0.732038, -0.358773, 0.384433, -0.954638, -0.049516, -0.921491, -0.280911, -0.006534, 0.021261, 0.704396, 0.843477, -0.64678, 0.215402, 0.344083, 0.190791, 0.460766, 0.631456, -0.796353, -0.70697, -0.93932, -0.26941, 0.291231, -0.776953, 0.511543, -0.961911, 0.538473, -0.699736, -0.10484, 0.355965, -0.894656, 0.137576, 0.343212, -0.925443, -0.218329, -0.34466, -0.65397, -0.246399, -0.136963, -0.8577, -0.980413, 0.143808, -0.357475, -0.846778, 0.78291, 0.218663, 0.560728, -0.659867, -0.047037, 0.013822, -0.982339, 0.552446, 0.331225, -0.730386, 0.774556, 0.684101, 0.652634, -0.783598, 0.259433, 0.878576, 0.042716, 0.259463, 0.909222, 0.922598, -0.27543, -0.395279, -0.481838, -0.938371, 0.144401, 0.93175, -0.333471, 0.369483, -0.621085, -0.564829, 0.80984, 0.309512, -0.380479, -0.59369, 0.224066, 0.63758, 0.870298, 0.081739, -0.030429, -0.982449, -0.817121, -0.717165, 0.444707, 0.762329, 0.894164, 0.676888, 0.860617, -0.520772, 0.477806, -0.974136, -0.041279, -0.263904, -0.879229, 0.047458, -0.036977, -0.911822, -0.028227, 0.906597, -0.743412, -0.150791, 0.379206, 0.031509, 0.436235, 0.297141, -0.210753, 0.569159, 0.113698, 0.251317, 0.940917, 0.90031, -0.240503, -0.214537, -0.359914, -0.386821, -0.957511, -0.617747, 0.769996, 0.649004, 0.501584, 0.59991, -0.303653, 0.152373, 0.980311, 0.939813, 0.947698, 0.016201, -0.918747, -0.580006, -0.6756, 0.373441, -0.081376, -0.795277, 0.808163, 0.313148, -0.952352, 0.257746, -0.175071, 0.903096, 0.743823, -0.191935, -0.006462, -0.982379, -0.369052, 0.885569, -0.442064, -0.253906, 0.979275, 0.466501, 0.250279, 0.918989, -0.018075, -0.552255, -0.779057, 0.670121, 0.193301, 0.954185, -0.354254, 0.474797, -0.506009, 0.344422, 0.15415, -0.801428, -0.730285, 0.907842, -0.682314, 0.610659, 0.41444, -0.242882, 0.182759, 0.591442, -0.035775, -0.342293, 0.656185, -0.684146, -0.661849, 0.514685, -0.184947, -0.036236, -0.445603, 0.521266, -0.955136, -0.93023, -0.372067, -0.334927, 0.707866, -0.666886, -0.548278, 0.172589, -0.430656, -0.036741, 0.573853, 0.407743, 0.152786, 0.899797, 0.2257, -0.102985, 0.588611, 0.195412, 0.766974, -0.345273, -0.602946, 0.948093, -0.632556, 0.281069, -0.005108, -0.510043, 0.467206, 0.40839, 0.047672, -0.121442, 0.243344, 0.750187, 0.936759, -0.285894, 0.525703, -0.668661, -0.498804, 0.670442, 0.931295, 0.414601, 0.257918, 0.17001, -0.871825, 0.187021, -0.111588, -0.43244, 0.691973, 0.554803, -0.54603, 0.089423, -0.473954, -0.480573, 0.906575, 0.35041, -0.971451, -0.015407, 0.40669, 0.858526, 0.010829, 0.729498, 0.394718, -0.105513, 0.951469, 0.358318, 0.7331, 0.957293, 0.979831, 0.573623, 0.622401, -0.368851, 0.607278, 0.558672, 0.81787, -0.113822, 0.27728, -0.988326, 0.272902, -0.08964, 0.793732, -0.87398, -0.819355, 0.197418, -0.890136, 0.878853, 0.387616, -0.526091, -0.294721, -0.681149, -0.442036, -0.832638, 0.743681, -0.405061, 0.381696, -0.618681, -0.431826, -0.216701, 0.781484, -0.078102, -0.791953, -0.861833, -0.699099, -0.655659, -0.324552, 0.838495, 0.22575, 0.867537, -0.175272, 0.826654, 0.293355, 0.342308, 0.950104, 0.977413, 0.301017, -0.291221, 0.861931, 0.206372, 0.885967, 0.172526, -0.838081, 0.800076, 0.718332, 0.946155, 0.499677, 0.643611, 0.706966, -0.521115, 0.162412, 0.537115, -0.193675, -0.31303, 0.057727, -0.776977, 0.312365, 0.041476, -0.201317, -0.012325, -0.809958, 0.534925, 0.367051, -0.135173, 0.166498, 0.918229, 0.993332, -0.704219, -0.687695, 0.827088, -0.806947, -0.573136, -0.832225, -0.347881, 0.77725, -0.577082, -0.926355, -0.2127, 0.573027, 0.282137, 0.484414, 0.671527, -0.503405, -0.062631, -0.589348, -0.613213, 0.88365, -0.595205, -0.548982, -0.525068, -0.925633, 0.821342, -0.659577, 0.546506, 0.220729, -0.245882, 0.080867, -0.353695, -0.693592, 0.961053, 0.746804, 0.006292, 0.05585, 0.546645, -0.101783, 0.439754, 0.251581, 0.801777, 0.712769, -0.673479, -0.71515, 0.536101, -0.564986, -0.794899, 0.646889, 0.55179, 0.245631, 0.022524, 0.009383, 0.911417, -0.462768, -0.149599, 0.373193, -0.588968, -0.207045, 0.922323, -0.907597, -0.485823, 0.427036, -0.365334, -0.016955, 0.642288, 0.422853, -0.628919, -0.119833, -0.901554, -0.079955, 0.124833, -0.948531, -0.549889, 0.793716, 0.489367, 0.271314, -0.380642, 0.716997, 0.53631, 0.021736, -0.693663, 0.678874, -0.311185, 0.46893, -0.529694, -0.04688, -0.195862, -0.879324, -0.671223, -0.199829, -0.686255, -0.58519, 0.078189, -0.130616, -0.148267, 0.772958, -0.433742, 0.601109, -0.060766, -0.636212, 0.437423, 0.973552, -0.902525, 0.859963, -0.636482, -0.951281, -0.552698, 0.627373, -0.211822, -0.718199, -0.417009, -0.405455, 0.92004, 0.505843, 0.091329, 0.786258, -0.494013, 0.884069, 0.834379, 0.12859, -0.439657, 0.000348, -0.884459, 0.951671, 0.33588, 0.98562, -0.696516, -0.511193, -0.590149, 0.203698, 0.758763, -0.235708, -0.782322, 0.369433, 0.261806, -0.996356, -0.582082, 0.385064, 0.470689, 0.472471, 0.022517, 0.653193, 0.460888, -0.838995, 0.28281, -0.674587, 0.573032, -0.53662, 0.880913, -0.534889, 0.75892, 0.841746, 0.806641, -0.459468, -0.830421, 0.780316, 0.867393, -0.060853, 0.066551, -0.192332, -0.354313, -0.114907, -0.90474, 0.155105, -0.812404, 0.827751, 0.592988, 0.088853, -0.025354, 0.281927, -0.80028, -0.999257, -0.7326, 0.466403, 0.751421, -0.004501, -0.524457, -0.794032, 0.117805, 0.177502, -0.677559, -0.757426, -0.06712, 0.739926, -0.852478, -0.366057, 0.857387, -0.847861, 0.621267, -0.108489, -0.178739, -0.55316, 0.608799, -0.778848, -0.484387, -0.90188, -0.977138, -0.606793, -0.750075, 0.080169, 0.220141, 0.08781, 0.381089, 0.459904, -0.03204, 0.031248, -0.14221, -0.660411, 0.303576, -0.411381, 0.397417, 0.796837, -0.256525, 0.295159, -0.195594, -0.196307, 0.402043, -0.184148, 0.045983, -0.756564, -0.499438, 0.26568, -0.142435, -0.895694, -0.99617, -0.429765, -0.360516, 0.631486, -0.87639, 0.701724, 0.800426, 0.033977, 0.657542, 0.950956, -0.904548, 0.207629, -0.272068, 0.260756, 0.822078, -0.398276, -0.233793, -0.543665, 0.016456, -0.966157, -0.093817, 0.054073, -0.914807, -0.930512, 0.350499, -0.622973, 0.285755, 0.857777, 0.907433, 0.460435, 0.101346, 0.737089, 0.778812, 0.66698, 0.848276, 0.186502, -0.901572, 0.775239, -0.810165, 0.540699, -0.805534, 0.246665, -0.084901, -0.318412, -0.175768, 0.243833, -0.410232, -0.598694, -0.36668, -0.226491, -0.827378, 0.059425, 0.549472, -0.270673, 0.351423, -0.948709, -0.011525, 0.922619, -0.915934, -0.451177, -0.576486, 0.518948, 0.802735, 0.984176, -0.536015, 0.675633, 0.161738, 0.727988, -0.620059, -0.689955, -0.369706, 0.702609, 0.123199, 0.978091, -0.643435, 0.15192, -0.415992, -0.224138, -0.808304, -0.234824, -0.283688, 0.034261, 0.669001, -0.761001, -0.933229, -0.06561, 0.611848, -0.365885, 0.386504, 0.478375, 0.356062, -0.847959, 0.849282, 0.557145, 0.058897, -0.249083, 0.576394, -0.829129, 0.527318, 0.734469, -0.352924, 0.826658, 0.803949, -0.927502, -0.678331, -0.182743, -0.319813, -0.201229, -0.297918, -0.699014, 0.687331, 0.263963, -0.631533, 0.541139, -0.558706, -0.188222, -0.211751, 0.023633, -0.720594, -0.194751, -0.880716, -0.814853, 0.325631, 0.319359, 0.750507, 0.923991, 0.966062, 0.835645, -0.035155, 0.901013, 0.558559, 0.854461, 0.738225, -0.736249, 0.30574, -0.407741, 0.384299, 0.656488, 0.647259, -0.83699, 0.328903, 0.855726, 0.192024, -0.832147, -0.828861, 0.33739, -0.764985, 0.397623, -0.982432, 0.082137, 0.529691, -0.564349, 0.866884, -0.108165, -0.417539, -0.453722, -0.165877, -0.094318, -0.244514, 0.853407, 0.584051, 0.357496, 0.966087, 0.040976, -0.896223, 0.676213, 0.462707, 0.747361, 0.593658, 0.065797, -0.384644, 0.887592, -0.38915, 0.805294, 0.946061, -0.918104, 0.860822, 0.017625, 0.505978, -0.745591, 0.32033, 0.33489, -0.001726, 0.364068, 0.535542, 0.458175, 0.815696, -0.017378, 0.971655, 0.966557, -0.014633, 0.997035, 0.01892, -0.866967, 0.885959, -0.026912, -0.20805, -0.625896, 0.740179, -0.09024, 0.613273, 0.115731, -0.754843, 0.039277, 0.651146, -0.9464, 0.863647, 0.23876, 0.299027, -0.968305, 0.673892, -0.843373, -0.320433, -0.123855, 0.116658, -0.909651, 0.318836, -0.385467, -0.947301, -0.659277, 0.58019, -0.893621, 0.942039, -0.552806, 0.271235, -0.416489, -0.337011, 0.530651, -0.475501, 0.473811, 0.956119, 0.435462, 0.338707, 0.112815, -0.703836, 0.788682, 0.021871, -0.072205, -0.737391, -0.347508, 0.316875, 0.848552, 0.733992, 0.384213, -0.012527, -0.166783, -0.521751, 0.379818, -0.522901, 0.823939, -0.916389, -0.823796, 0.321777, -0.420141, 0.453341, 0.520864, -0.512615, 0.755188, -0.870765, -0.442503, -0.801638, 0.419878, -0.011155, -0.306051, -0.259692, 0.043104, -0.092102, -0.722446, 0.252333, 0.554212, -0.457039, -0.413539, 0.932999, 0.213439, 0.678089, -0.453537, 0.504586, -0.636833, 0.352254, 0.53728, 0.105616, 0.380702, 0.050807, 0.702855, 0.157911, 0.123753, 0.997271, -0.868928, 0.577227, 0.983976, -0.074736, 0.127217, -0.508413, 0.18773, -0.825723, 0.312163, -0.444427, 0.601415, -0.631425, -0.651872, 0.654007, -0.133352, -0.445431, -0.290574, -0.226806, 0.338372, -0.725727, 0.385189, 0.846063, -0.562044, 0.829932, -0.11423, 0.114906, 0.317538, 0.624893, -0.944717, -0.002636, 0.914995, 0.863046, 0.133533, -0.316522, -0.656869, 0.450169, 0.904083, 0.296396, -0.169485, 0.905091, 0.004446, 0.552072, -0.77608, 0.277672, 0.060536, -0.332175, -0.869935, -0.151709, -0.107077, -0.724359, 0.260613, 0.700013, -0.534317, -0.609452, 0.690574, -0.281649, 0.634603, -0.860235, 0.221485, -0.290641, 0.679641, -0.029428, 0.217593, -0.93887, -0.542375, -0.527096, 0.855159, -0.720253, -0.117559, 0.762766, 0.977344, 0.48399, -0.618465, -0.263786, 0.996497, -0.730344, 0.283664, 0.961112, 0.0865, 0.146969, -0.325463, -0.813431, -0.772539, -0.63497, 0.246644, -0.386042, 0.936938, -0.140075, 0.944296, 0.81748, -0.067837, 0.321314, 0.469365, -0.559912, 0.364753, 0.760145, 0.584106, 0.984646, -0.361681, -0.524615, 0.456196, 0.038338, -0.560232, 0.5779, 0.997685, 0.561696, 0.595549, 0.678114, 0.201296, -0.335258, -0.095336, -0.905338, -0.990698, 0.659629, -0.263657, -0.188172, 0.532682, 0.539267, 0.244997, 0.253013, 0.931041, -0.056738, -0.753922, 0.188259, -0.129722, -0.195106, 0.477611, 0.955594, 0.142494, -0.498074, 0.645917, 0.149004, -0.152982, -0.153312, 0.144446, -0.362418, 0.112003, 0.484061, 0.22024, -0.016184, -0.900073, 0.036137, 0.784773, 0.133736, 0.950982, -0.56954, -0.587224, 0.18547, 0.168323, -0.260408, -0.262243, 0.471721, -0.304161, -0.048071, 0.009152, 0.759394, -0.096923, 0.012187, 0.541848, 0.912229, 0.044522, 0.234065, -0.682927, -0.158465, 0.551989, 0.925135, 0.739071, 0.610472, -0.01362, 0.019718, 0.451721, -0.121254, -0.046923, 0.98049, 0.677929, 0.714465, -0.576908, -0.254527, -0.091514, -0.687581, -0.32328, 0.111773, -0.602441, -0.496988, 0.445815, 0.083821, -0.082299, 0.893716, -0.136196, -0.064137, -0.771906, -0.55088, 0.368138, 0.092481, 0.414957, 0.523402, 0.190163, -0.383318, 0.828163, 0.882542, -0.782282, 0.588642, 0.225975, 0.01646, 0.818545, 0.069759, -0.694246, -0.967012, -0.806714, -0.643482, 0.554778, -0.822287, 0.298471, -0.207418, -0.573235, -0.161224, 0.567321, -0.974305, -0.924659, -0.977346, -0.702989, -0.975292, -0.093524, -0.908253, -0.55289, -0.445219, -0.66193, 0.182252, 0.092968, -0.410094, -0.900943, 0.10914, -0.432151, -0.533745, 0.933649, 0.191152, -0.140981, -0.487598, -0.705687, -0.872934, -0.27253, 0.489704, -0.219288, -0.288491, -0.900173, 0.921341, 0.3661, -0.613108, 0.884188, 0.139922, -0.346087, -0.522208, -0.887948, -0.709379, -0.650161, -0.708062, 0.958959, -0.990817, -0.882159, -0.384952, -0.694891, -0.384228, -0.463361, -0.346324, 0.558741, 0.192822, 0.930569, -0.694867, 0.289907, 0.806953, 0.403517, -0.295312, 0.919915, 0.554237, 0.302038, -0.943319, 0.883264, -0.931982, 0.093723, -0.886868, -0.233094, -0.628941, 0.364252, 0.344091, 0.129751, 0.937438, 0.15165, -0.331961, 0.393217, 0.157474, 0.117416, -0.491051, 0.686625, 0.29248, -0.412632, -0.278025, -0.276566, -0.725231, 0.797837, -0.441507, 0.813227, 0.596242, -0.262442, 0.12668, -0.272339, 0.125095, -0.357097, -0.113549, -0.438434, 0.311058, -0.779749, 0.297233, -0.730107, 0.975243, -0.729508, 0.390309, -0.638829, 0.522344, 0.587595, -0.595072, -0.198694, 0.240756, 0.968242, 0.461854, -0.918761, -0.048988, -0.337942, -0.238989, 0.801674, -0.919306, 0.462533, 0.018816, 0.973462, -0.3499, 0.03583, -0.985388, -0.46821, -0.785275, 0.615897, -0.152186, -0.857252, 0.028267, 0.173754, 0.348583, 0.940068, 0.075613, 0.180071, 0.12097, 0.206894, -0.307443, 0.457207, 0.727704, 0.779897, -0.124644, 0.513754, 0.227788, 0.836907, 0.743838, -0.198261, -0.904183, 0.213529, -0.698224, -0.517015, 0.976812, -0.151993, 0.101568, 0.837127, 0.161834, 0.134565, 0.01749, -0.929974, -0.908251, 0.741546, -0.319135, -0.372134, 0.735029, -0.487553, -0.103641, -0.599272, 0.947061, -0.662877, 0.109065, -0.434216, 0.277355, -0.210899, -0.400437, -0.673124, -0.127868, -0.208888, 0.318307], \"shape\": [7, 6, 6, 6]}, \"expected\": {\"data\": [-0.63443, 0.057, 0.915434, 0.774556, 0.042716, -0.481838, -0.294721, 0.381696, -0.791953, -0.192332, 0.827751, -0.999257, -0.564349, -0.094318, 0.040976, -0.325463, 0.936938, 0.469365, -0.276566, -0.262442, -0.438434], \"shape\": [7, 1, 3, 1]}}, \"convolutional.Cropping3D.4\": {\"input\": {\"data\": [0.552932, -0.391563, 0.145352, -0.913287, 0.239969, -0.797865, 0.113016, -0.015543, 0.485166, 0.419961, -0.83219, 0.756209, 0.514834, -0.140546, 0.811136, -0.274515, 0.706663, 0.022525, -0.051553, 0.990059, -0.706901, -0.618589, 0.042919, 0.472082, 0.222432, 0.543026, -0.527015, 0.189191, 0.005629, 0.502652, 0.1252, -0.290988, -0.306937, -0.126483, 0.469071, -0.232995, -0.156825, -0.533997, 0.165413, 0.032944, -0.123496, -0.151654, -0.911871, 0.011792, -0.715693, -0.352744, 0.748372, 0.735725, 0.239828, -0.253998, -0.630254, 0.633554, 0.799631, -0.750882, 0.751927, 0.85789, 0.335157, -0.03868, -0.906432, -0.007475, -0.109547, 0.728283, -0.364401, 0.064281, 0.744773, -0.436497, -0.945798, -0.069515, 0.928977, 0.683572, -0.8726, -0.289312, 0.087812, 0.227353, -0.831422, -0.67108, 0.500418, 0.492954, 0.89731, -0.146691, 0.444627, -0.505485, -0.375672, -0.715253, 0.701297, 0.695526, -0.360664, 0.538686, 0.378611, 0.370014, -0.035763, -0.918841, -0.248974, -0.802044, 0.378476, 0.694623, -0.565235, -0.701098, -0.126973, -0.562546, -0.663932, 0.770913, 0.515695, -0.278422, -0.780122, -0.36797, -0.271988, 0.905672, 0.956295, 0.067556, -0.596416, 0.043891, -0.251358, -0.122596, -0.271995, 0.771433, 0.453408, 0.505405, -0.740381, -0.343052, -0.716468, -0.609471, -0.25965, 0.919427, -0.598315, -0.65529, -0.972942, 0.647437, 0.099539, -0.197465, 0.133586, 0.821973, 0.108019, -0.469635, 0.209943, 0.499653, -0.799359, -0.446252, -0.88259, 0.192946, 0.082613, 0.569489, -0.494669, 0.545828, -0.315844, 0.238813, -0.88821, 0.532254, -0.563085, -0.228269, 0.780009, 0.032083, -0.319231, -0.86483, 0.747309, 0.087839, -0.527222, -0.039401, -0.952073, 0.288322, 0.518077, 0.731037, -0.486223, 0.869424, 0.169052, -0.298972, -0.698644, -0.595955, -0.734445, -0.576024, -0.028123, 0.843765, -0.642064, 0.101355, -0.727038, -0.656385, 0.554622, 0.378986, -0.18567, -0.147545, -0.259606, 0.156545, -0.717878, -0.894499, -0.894029, 0.447647, 0.660037, 0.702308, 0.254603, -0.02343, 0.048776, 0.110113, -0.324964, 0.820057, 0.865682, 0.032295, -0.007244, 0.417782, 0.479672, -0.530201, -0.850524, 0.57764, 0.132439, 0.910782, -0.636661, -0.108427, 0.512615, -0.953069, 0.04599, 0.256079, 0.87632, -0.084771, 0.720888, -0.881557, 0.339755, 0.559932, -0.343703, 0.594663, -0.870027, 0.341354, -0.509839, 0.148319, 0.669631, 0.7594, 0.46455, -0.761538, -0.253966, -0.591122, 0.252467, 0.517584, 0.562246, 0.764693, -0.815437, 0.872928, 0.374029, -0.966791, 0.435495, 0.472188, 0.316068, 0.121007, 0.836562, 0.439313, -0.865302, -0.314443, -0.636654, 0.232243, -0.375608, -0.983483, 0.911811, -0.011738, 0.639313, -0.073588, -0.674928, 0.673042, -0.54568, -0.256802, -0.005641, 0.495703, -0.593713, 0.426142, -0.209883, 0.072729, 0.8172, 0.185169, -0.120199, -0.908193, 0.939409, 0.762324, 0.212512, 0.579963, -0.736525, 0.928914, -0.435811, 0.745623, 0.131868, 0.69876, -0.873206, 0.536616, 0.809673, -0.627036, -0.11039, 0.762632, -0.400735, -0.743118, 0.120356, 0.507299, -0.791819, -0.557385, 0.946971, -0.661281, -0.696149, 0.365465, -0.469664, -0.517657, 0.490849, -0.83665, 0.602221, -0.544641, 0.049349, 0.025047, 0.522491, -0.952776, 0.851411, 0.972384, 0.122072, 0.700024, -0.310192, 0.932512, 0.647777, 0.169687, 0.157323, 0.650739, -0.609297, 0.771263, 0.478693, 0.679423, 0.927393, 0.282678, -0.165658, 0.425544, -0.842485, -0.323878, -0.801298, 0.583853, 0.132385, -0.828146, -0.228917, 0.968815, -0.488973, 0.758221, -0.539292, -0.756242, -0.211129, 0.38151, 0.693266, 0.020397, -0.896811, 0.494928, -0.930032, 0.714915, -0.217275, 0.208693, -0.172212, -0.894424, 0.655236, 0.959226, 0.264088, -0.24509, -0.525404, 0.130652, 0.710521, 0.377131, -0.224163, 0.234506, 0.420682, -0.009999, -0.564526, 0.182725, 0.120952, -0.105306, -0.036452, 0.963711, -0.485148, 0.489759, -0.186174, 0.007551, -0.279015, 0.99143, 0.581001, 0.459992, -0.548211, -0.129499, -0.512361, 0.953579, 0.8654, 0.191998, -0.709853, 0.675139, -0.903894, -0.386467, 0.942548, -0.484833, -0.131755, -0.118272, -0.100289, -0.279418, -0.876433, 0.069159, 0.769375, -0.785335, 0.776335, 0.312024, -0.754091, -0.158992, -0.742639, -0.000786, 0.987912, -0.583303, 0.442813, 0.621718, -0.752474, 0.161465, 0.479715, -0.092114, -0.98285, 0.182926, -0.050242, -0.475992, 0.406011, 0.407224, -0.306946, -0.97525, -0.65476, 0.553016, -0.547917, -0.681256, 0.639825, -0.831444, -0.853096, -0.14065, 0.49261, -0.319185, 0.16836, -0.757226, -0.718218, 0.989506, 0.10174, -0.072814, -0.811249, -0.625561, -0.949089, -0.83842, 0.345526, 0.906703, 0.923047, 0.618198, 0.711296, 0.395395, -0.385331, -0.745365, 0.856799, -0.432597, 0.985449, 0.841148, -0.517842, 0.036072, -0.056757, 0.981462, -0.707281, 0.424999, -0.52459, 0.890533, 0.459934, -0.746298, 0.256064, -0.765501, -0.645562, -0.371976, 0.899245, -0.641295, -0.853633, -0.443435, 0.199224, -0.95802, 0.579817, 0.043103, 0.318966, 0.846739, 0.5758, 0.834396, -0.67799, 0.123024, 0.146095, 0.101171, -0.284766, 0.02444, 0.832683, 0.157063, 0.614361, 0.728003, -0.066255, -0.028598, -0.210104, -0.624818, -0.354966, -0.763458, -0.381756, 0.611477, -0.867395, -0.358915, 0.925979, 0.656968, -0.385544, 0.864226, -0.375078, -0.906244, 0.506389, 0.613637, 0.140944, 0.450536, -0.086864, 0.180086, 0.212534, -0.973851, -0.831893, -0.440306, 0.105263, 0.106657, -0.00178, 0.115537, 0.056705, 0.317577, 0.110824, 0.567692, 0.367596, -0.925945, 0.041652, -0.768622, -0.563986, -0.671608, 0.56857, -0.339031, -0.155376, 0.008244, -0.163946, -0.817625, 0.486723, 0.491516, 0.556896, -0.749484, -0.320257, 0.547991, 0.064361, 0.742634, -0.284167, 0.38286, -0.477705, 0.0616, 0.663545, 0.835639, -0.467357, 0.586625, -0.006385, 0.029998, -0.016281, 0.9945, -0.084143, 0.729256, -0.113911, -0.625124, -0.870468, -0.136714, 0.038895, 0.150721, -0.729968, 0.776437, 0.953598, 0.740779, -0.701201, 0.235871, -0.938543, 0.678896, -0.209093, 0.168897, -0.122768, 0.660623, 0.673951, 0.917643, -0.822147, 0.316585, 0.452364, -0.128659, 0.681446, -0.145561, -0.443973, 0.142253, -0.214438, -0.134716, -0.292241, 0.032388, -0.502834, 0.494057, -0.927104, 0.683911, 0.098366, 0.424614, -0.748699, 0.140511, -0.368834, -0.575243, -0.878809, 0.976614, -0.898129, -0.336643, -0.275722, -0.839051, -0.083828, -0.079109, -0.170735, 0.850256, 0.428653, -0.192746, -0.650444, 0.805599, -0.904445, -0.52848, 0.254209, -0.304287, 0.697569, -0.24084, -0.213066, -0.829446, 0.211602, -0.468701, -0.873023, 0.776543, 0.479864, -0.854709, 0.290743, 0.269042, 0.303507, 0.825484, -0.350281, 0.527806, 0.306531, -0.380415, 0.177994, 0.389269, 0.39013, 0.571741, -0.800163, -0.52541, -0.120161, -0.188094, 0.252368, 0.468262, -0.29529, -0.159899, 0.067066, 0.531398, -0.552879, -0.755479, 0.151718, 0.512324, 0.049247, 0.828744, 0.100693, 0.021147, 0.959561, -0.504759, -0.372063, 0.363682, 0.316628, 0.899939, -0.320231, -0.826401, 0.664093, -0.977921, -0.118587, -0.058308, 0.243291, -0.993812, 0.439848, 0.639079, -0.24307, 0.242194, 0.811189, 0.23877, 0.041865, -0.903856, 0.701513, -0.814141, 0.358556, 0.716946, 0.3184, 0.052189, -0.725381, -0.715884, 0.328818, -0.142231, 0.52051, 0.680007, -0.388166, -0.48949, -0.933759, -0.631734, 0.715184, -0.01953, -0.198268, -0.027043, -0.75827, -0.75053, 0.076122, -0.350163, -0.721161, 0.211658, 0.079194, 0.84718, 0.81396, 0.300779, -0.924642, 0.505361, 0.962908, -0.747298, -0.522527, -0.807261, 0.834946, 0.430102, -0.373709, -0.608553, 0.024678, -0.163521, 0.674944, -0.783462, 0.810318, 0.874626, -0.011796, 0.246424, 0.910059, -0.683633, -0.479507, 0.362514, -0.271837, -0.34765, 0.56343, 0.385024, -0.377627, -0.427922, -0.357301, 0.930701, 0.529309, 0.410059, 0.042469, -0.652207, -0.38668, -0.595703, 0.051819, 0.495089, 0.021722, 0.962676, -0.954313, 0.139877, 0.540186, 0.175063, -0.324261, -0.487979, -0.199865, -0.896863, 0.648591, -0.869016, -0.951801, 0.452265, 0.348446, -0.296498, 0.810559, 0.806663, 0.370251, -0.382893, 0.548505, 0.589625, -0.74622, -0.165752, 0.127169, -0.186261, -0.158653, -0.65933, -0.904527, -0.679857, 0.205036, 0.728642, 0.118326, -0.717343, -0.551836, 0.930701, 0.853455, 0.5641, -0.610849, -0.208156, -0.344898, -0.055826, -0.797474, -0.898262, -0.566794, 0.083414, -0.48116, -0.584135, -0.863701, -0.736389, -0.169939, 0.756208, 0.138972, -0.658742, -0.823399, 0.155078, -0.18297, 0.637366, 0.240719, 0.85602, -0.123857, 0.414817, 0.14346, 0.372528, -0.204021, 0.442165, -0.678351, -0.162768, 0.719583, 0.516144, -0.656037, -0.690264, 0.993811, -0.338322, -0.18689, -0.540153, 0.748306, -0.153805, 0.838753, 0.400404, -0.168491, 0.299029, -0.292792, -0.243604, -0.77467, -0.08768, 0.011335, 0.630618, 0.204284, 0.392751, -0.688328, -0.864995, -0.073438, 0.336554, -0.924764, -0.961972, -0.214482, 0.543822, -0.881113, -0.983055, 0.934399, 0.658597, -0.563213, 0.106173, -0.130723, -0.58558, -0.443773, 0.223094, 0.899055, 0.095484, -0.207172, -0.830627, -0.397182, 0.341325, -0.123243, 0.596399, -0.875153, -0.93581, 0.888101, 0.671833, -0.927909, 0.511214, -0.402201, -0.086074, -0.853926, -0.348003, -0.605128, -0.271734, -0.762964, 0.988386, 0.539577, -0.616057, -0.729645, -0.58795, 0.262559, 0.152953, -0.114154, 0.313668, 0.773053, -0.895236, -0.416643, -0.346566, -0.76097, -0.397088, 0.482053, -0.215059, 0.414056, 0.977476, -0.49225, -0.49018, -0.441177, -0.326074, -0.190574, -0.261837, 0.686362, -0.546126, 0.967277, -0.019489, 0.01811, 0.159162, -0.616736, -0.622531, 0.903911, -0.208688, -0.590032, 0.686109, -0.208874, 0.121996, 0.028657, 0.891889, 0.134002, 0.396799, 0.791501, 0.539969, 0.958577, 0.751278, 0.524415, 0.334321, 0.925085, 0.172782, 0.947395, -0.021699, -0.046773, 0.763599, 0.460609, 0.084225, 0.033512, -0.629975, -0.011106, 0.855574, 0.95406, 0.717087, -0.596293, -0.669326, -0.383462, -0.573114, -0.877369, 0.138406, 0.896811, 0.936472, 0.855075, 0.345105, 0.092838, 0.456724, 0.35745, 0.077662, 0.758578, 0.238703, 0.619724, -0.168825, -0.297418, 0.150061, -0.982698, 0.60999, 0.041587, -0.93194, -0.410268, -0.212141, 0.029014, -0.690042, 0.8538, 0.840465, -0.644825, -0.730661, 0.691654, -0.723687, -0.639771, 0.343885, -0.596438, -0.773411, -0.899021, 0.567725, -0.581406, -0.179768, -0.089435, -0.451126, -0.001679, -0.619262, 0.903379, 0.382629, 0.075807, 0.28274, 0.457147, -0.326116, 0.976684, 0.083537, -0.610611, -0.168666, 0.314676, 0.622596, 0.44941, 0.662349, -0.876431, -0.120824, -0.177648, -0.265469, -0.74144, -0.703276, -0.101114, -0.137743, -0.816946, 0.324263, 0.516855, -0.005136, 0.161216, 0.790886, -0.639271, -0.175949, 0.266368, -0.703774], \"shape\": [7, 6, 8, 3]}, \"expected\": {\"data\": [0.57764, 0.132439, 0.910782, -0.636661, -0.108427, 0.512615, -0.761538, -0.253966, -0.591122, 0.252467, 0.517584, 0.562246, 0.959226, 0.264088, -0.24509, -0.525403, 0.130652, 0.710521, 0.459992, -0.548211, -0.129499, -0.512361, 0.953579, 0.8654, -0.358915, 0.925979, 0.656968, -0.385544, 0.864226, -0.375078, 0.567692, 0.367596, -0.925945, 0.041652, -0.768622, -0.563986, -0.188094, 0.252368, 0.468262, -0.29529, -0.159899, 0.067066, -0.977921, -0.118587, -0.058308, 0.243291, -0.993812, 0.439848, -0.208156, -0.344898, -0.055826, -0.797474, -0.898262, -0.566794, 0.372528, -0.204021, 0.442165, -0.678351, -0.162768, 0.719584], \"shape\": [5, 2, 2, 3]}}, \"convolutional.Cropping3D.5\": {\"input\": {\"data\": [0.043846, 0.387057, -0.757079, -0.959987, 0.566604, 0.124696, -0.715944, 0.325624, -0.947555, 0.589722, 0.798926, -0.787785, -0.055168, -0.872683, 0.131572, 0.801173, -0.818468, 0.271571, -0.142291, 0.98768, 0.398116, -0.716819, 0.01385, 0.300547, 0.183212, -0.915166, 0.805221, 0.433358, 0.606754, 0.785643, 0.143923, -0.411014, 0.183676, -0.016775, 0.309725, 0.558666, -0.236681, -0.204503, -0.076547, -0.125679, 0.332762, 0.751278, 0.045644, 0.928204, -0.352747, 0.519829, 0.159496, -0.132149, 0.801091, 0.189018, -0.707627, -0.627894, 0.781566, 0.00825, 0.857472, 0.715349, 0.622698, -0.410016, 0.594011, -0.245787, 0.96277, 0.390469, 0.520997, -0.334586, 0.459968, -0.699742, 0.218636, -0.281006, -0.038763, 0.193717, 0.666298, 0.36883, -0.714969, -0.347243, -0.581006, -0.646797, 0.829818, -0.259413, 0.799303, -0.853115, 0.769081, 0.898216, 0.279398, -0.708436, 0.475212, 0.826851, 0.020094, -0.153576, -0.104129, -0.760511, -0.473047, 0.940764, -0.395157, -0.229786, -0.916145, -0.811178, 0.669076, -0.642102, 0.845859, -0.435343, 0.063115, -0.21176, 0.988692, 0.350829, -0.8658, 0.552288, -0.38621, -0.529895, 0.208359, 0.798045, 0.477992, -0.630668, -0.830842, -0.157504, -0.255437, 0.299291, -0.313303, 0.286265, -0.794935, -0.437572, -0.899535, 0.081122, 0.094617, 0.279048, 0.092846, -0.491994, 0.19029, 0.917586, -0.987566, -0.361124, -0.9644, 0.611835, 0.073082, 0.967786, 0.219968, 0.003636, 0.897912, -0.551779, -0.174889, 0.322685, 0.084844, 0.11946, -0.210693, 0.185586, 0.255131, -0.226105, 0.698796, -0.735712, 0.691644, -0.954068, 0.082516, -0.677588, -0.727572, -0.217925, -0.036308, 0.746602, -0.440883, 0.995687, 0.973463, 0.112591, 0.518248, -0.989987, -0.211891, -0.29495, -0.85471, 0.946302, -0.87119, -0.463681, 0.42762, -0.046948, -0.811625, 0.094678, -0.442138, 0.923323, -0.036331, 0.535717, 0.225766, 0.950662, 0.075253, -0.508096, -0.758873, -0.734086, 0.02533, 0.957113, -0.772954, 0.601644, 0.875384, -0.138894, -0.102083, -0.589556, 0.029889, -0.040244, 0.321281, 0.274103, -0.370982, -0.469439, -0.412811, 0.886377, 0.24295, -0.07835, 0.235036, 0.361379, -0.298048, 0.017156, 0.280408, 0.854661, 0.334594, 0.377894, -0.188442, -0.817378, 0.601653, -0.544568, 0.20688, -0.955979, -0.610727, 0.83147, -0.490239, 0.814372, 0.879806, -0.569241, -0.774526, 0.440254, 0.66168, -0.635172, -0.284764, 0.982888, 0.628501, 0.711431, 0.051407, 0.931172, -0.826667, 0.173472, 0.396511, 0.687331, -0.448939, 0.036281, 0.289265, -0.919222, 0.439861, 0.89679, 0.358382, 0.899539, -0.293465, 0.602783, 0.609556, -0.064656, 0.950135, -0.966239, -0.92985, -0.072733, -0.145011, 0.987823, 0.974229, 0.869934, 0.898978, 0.336015, 0.738676, 0.273152, -0.261819, 0.748001, -0.597413, 0.43742, 0.292128, -0.445195, 0.08216, -0.976806, -0.841681, -0.400997, -0.210064, 0.754699, -0.955236, -0.922535, 0.662501, -0.212456, -0.030263, 0.463658, -0.658032, 0.354742, -0.461468, 0.501586, 0.361726, 0.523179, 0.278897, 0.152804, 0.540205, 0.461409, 0.640202, 0.615065, -0.186569, -0.595374, -0.249853, -0.505774, 0.388983, -0.341326, 0.394611, 0.422496, -0.697824, 0.322419, -0.329647, 0.16361, 0.210585, -0.18548, -0.565761, -0.228973, -0.272735, -0.554274, -0.337679, 0.768161, -0.063768, 0.239, 0.188245, 0.542322, -0.908386, -0.402186, -0.425823, 0.819066, 0.927917, -0.274169, -0.835605, 0.207778, -0.088012, -0.80116, 0.783881, 0.787084, -0.839728, -0.14165, -0.878961, 0.455479, -0.778172, 0.22216, -0.459256, 0.510467, -0.448743, -0.23954, -0.586738, -0.488315, 0.503379, -0.460998, 0.260812, -0.970714, -0.960815, 0.994421, 0.368884, -0.282417, -0.217466, -0.926953, 0.424473, -0.47864, -0.452637, -0.576014, 0.481422, 0.976067, -0.631883, 0.995375, -0.641257, 0.568675, 0.099127, 0.676533, 0.971177, -0.650637, 0.575729, 0.12006, -0.391356, 0.17799, 0.181967, -0.97207, 0.1388, 0.417196, -0.503639, 0.354642, -0.503528, 0.808449, 0.517741, -0.032673, 0.539583, 0.039738, 0.964054, 0.545395, 0.37298, 0.28655, 0.659824, 0.688213, -0.003453, 0.061991, -0.559748, 0.061826, 0.745986, -0.202503, 0.241053, -0.062956, 0.55112, -0.249345, -0.860709, 0.240758, -0.716373, -0.897527, 0.752462, -0.34121, -0.909124, 0.805445, 0.816608, 0.972831, 0.823327, -0.047895, -0.147073, -0.612126, 0.872956, -0.133553, 0.005893, -0.30792, -0.990942, 0.712288, 0.522494, 0.338751, 0.78938, 0.496948, 0.188792, -0.604463, 0.459572, 0.432046, 0.614488, -0.510438, -0.133822, 0.861099, -0.948158, 0.661386, 0.293561, 0.639959, 0.915379, -0.136533, -0.699347, 0.87633, 0.594324, 0.471133, -0.969611, 0.386949, -0.047216, 0.229858, 0.672781, -0.952931, 0.351996, 0.80738, -0.985951, 0.011687, 0.078118, 0.502064, 0.147546, 0.584956, 0.184348, 0.629384, -0.412968, 0.959042, -0.948018, 0.598905, 0.498113, -0.392372, -0.724256, -0.627495, 0.523646, -0.220356, -0.427875, -0.29825, -0.630507, 0.04185, 0.938228, -0.750567, -0.989261, 0.392801, -0.116553, -0.74421, -0.417301, 0.868899, -0.84053, -0.257043, -0.337203, 0.61938, 0.450676, 0.621893, -0.904614, 0.961072, -0.624442, -0.108322, -0.828343, 0.547566, -0.209807, 0.579638, 0.567993, -0.175764, -0.155146, 0.041385, 0.065046, -0.648293, -0.010358, 0.538669, 0.594941, -0.523612, -0.504316, -0.375962, 0.168879, -0.428575, 0.016993, 0.053723, 0.243653, -0.367336, -0.823559, -0.804217, -0.956368, 0.573744, -0.1869, -0.561216, -0.358166, -0.082048, 0.547058, 0.517912, -0.471595, 0.704512, 0.124798, -0.305429, 0.105186, -0.467963, 0.389047, 0.08788, -0.956455, 0.934779, 0.639902, 0.371757, -0.45253, -0.837356, 0.623616, -0.638127, 0.738646, 0.135253, -0.929734, 0.459121, 0.837426, -0.501976, 0.604576, 0.951387, 0.080378, -0.700926, -0.129893, -0.918113, 0.133121, -0.215685, -0.141401, -0.163405, -0.768176, 0.70169, -0.9673, 0.553731, 0.132686, -0.34614, 0.554503, 0.363854, 0.98796, -0.434426, -0.692515, 0.530789, -0.11715, -0.805787, 0.318348, 0.679231, 0.137528, -0.018949, -0.447059, 0.195995, -0.844511, 0.708274, -0.864901, 0.057504, -0.978294, -0.11422, 0.515695, 0.398958, -0.987623, 0.138631, 0.639262, 0.792695, -0.60724, -0.664221, -0.563224, -0.213819, 0.230261, -0.022021, 0.153524, -0.278424, 0.548196, -0.947013, -0.484969, 0.213434, -0.493541, 0.933747, -0.307966, 0.804239, -0.128676, 0.162898, -0.31457, 0.181917, -0.093941, 0.654051, 0.256354, -0.322652, -0.058806, -0.465208, 0.580476, 0.593397, -0.153895, 0.223523, -0.808599, 0.361966, -0.372483, 0.038444, 0.746038, 0.921799, -0.793041, 0.708972, -0.890813, 0.627733, 0.779753, -0.442771, 0.955422, 0.981378, -0.781286, 0.854698, -0.051852, 0.203505, -0.162043, -0.610391, -0.704565, -0.61907, 0.781112, 0.379431, -0.84566, -0.663874, 0.15676, -0.62687, 0.703881, -0.924102, 0.918148, 0.319109, -0.660066, 0.096029, -0.408965, -0.798152, 0.192775, 0.223479, 0.501634, 0.487549, -0.780052, 0.651261, 0.085184, -0.436642, 0.730842, 0.272321, 0.212718, -0.570995, -0.556846, -0.898686, -0.077739, 0.029208, 0.146626, -0.661982, 0.75758, 0.404107, -0.113871, 0.828418, -0.909971, -0.400238, -0.072602, 0.871963, 0.400651, -0.665828, -0.320018, 0.206249, 0.997322, 0.603315, 0.54144, -0.682022, -0.665852, -0.588458, 0.820765, -0.785867, -0.494866, -0.131483, -0.494944, 0.573734, 0.769002, 0.126549, 0.989521, 0.289901, 0.166623, -0.001873, 0.006604, 0.905778, 0.892287, 0.265804, -0.803669, -0.717269, 0.234527, -0.423568, 0.103156, 0.399867, 0.721171, -0.615145, -0.772205, 0.030218, -0.767915, -0.796876, 0.422449, -0.67539, -0.693949, -0.624466, -0.721427, 0.349285, -0.605234, 0.352735, 0.049747, -0.739978, 0.413875, 0.508423, -0.003415, -0.522736, -0.92319, -0.151496, 0.935947, 0.834901, 0.832892, -0.900849, 0.87387, 0.116085, 0.90159, 0.309083, -0.181664, 0.959678, -0.731765, -0.601545, 0.974605, -0.947794, -0.4547, 0.795962, -0.020079, -0.081897, -0.053293, 0.89362, 0.92744, 0.945119, 0.425157, 0.968501, 0.862051, 0.104807, 0.379678, -0.916278, 0.291446, -0.128897, -0.618541, -0.54599, -0.011258, -0.369385, -0.483395, 0.052442, 0.869833, -0.681445, 0.550677, -0.087385, -0.680225, -0.172184, -0.479361, 0.892404, -0.691756, -0.623575, -0.959268, -0.350731, -0.184082, -0.71102, -0.013291, 0.973878, 0.683418, -0.403552, -0.3618, 0.562916, 0.667921, -0.435124, 0.980791, 0.107878, -0.216284, 0.582213, 0.2214, -0.284498, -0.6469, -0.057518, -0.280388, 0.960034, -0.828244, -0.934732, 0.189686, -0.114221, 0.401407, -0.213171, -0.971475, 0.550811, 0.671031, -0.324685, 0.484354, -0.222849, -0.564218, 0.227465, -0.541634, -0.94301, 0.098529, -0.91762, -0.287147, 0.124124, 0.999181, 0.645794, 0.080397, -0.746271, 0.323653, -0.493444, -0.414209, -0.729155, -0.936788, 0.292549, 0.753194, 0.99529, 0.0715, 0.000887, 0.832075, -0.473479, 0.691193, 0.220829, -0.507174, 0.005081, -0.656323, 0.572729, -0.850666, -0.969419, -0.056065, 0.612112, 0.561447, -0.16537, 0.479388, 0.756468, 0.653147, -0.373687, 0.185884, -0.506054, -0.554123, -0.634732, 0.468767, 0.868092, 0.36036, -0.849594, 0.985108, 0.27213, 0.995476, -0.935718, 0.334594, -0.498288, -0.719936, 0.907806, -0.814941, -0.138029, -0.459667, -0.987711, -0.669906, 0.096302, -0.677763, 0.872169, -0.704079, -0.979285, 0.143585, 0.496383, -0.859752, 0.376229, -0.26688, -0.420962, -0.872023, -0.50984, -0.65716, 0.032213, 0.138681, 0.639136, -0.469538, -0.183292, 0.777257, 0.092219, 0.784119, 0.039321, -0.772228, 0.521456, 0.234781, -0.253614, -0.02478, -0.710276, 0.682332, -0.736716, 0.586186, -0.135354, -0.886064, -0.053547, 0.926265, 0.300527, 0.299892, 0.710228, 0.401519, -0.67115, -0.039066, -0.562798, -0.126323, -0.521509, 0.347137, -0.130843, 0.482473, 0.408997, 0.544393, 0.175018, 0.725852, 0.326153, -0.186672, 0.676125, 0.843316, -0.744322, 0.319062, 0.197386, 0.573111, 0.900428, 0.827092, -0.646557, -0.870422, -0.465848, 0.918903, 0.923275, -0.207125, -0.563244, -0.442883, -0.793614, -0.171759, -0.97746, 0.097583, 0.146988, -0.879161, -0.008953, -0.401875, -0.75616, 0.902433, -0.135981, 0.206983, -0.037407, -0.470805, -0.910218, -0.05072, -0.766806, 0.164243, -0.282446, -0.737219, 0.582528, -0.37117, 0.305602, -0.409942, -0.852194, 0.134159, -0.027626, 0.844484, -0.125292, 0.762453, 0.611333, -0.08759, 0.319103, -0.588629, -0.498867, 0.073922, 0.925568, 0.028013, -0.282739, 0.074628, 0.99848, -0.301011, 0.45673, -0.860943, 0.152566, -0.09086, 0.663254, 0.334449, -0.175709, 0.455119, -0.084722, 0.697584, 0.243097, 0.700424, -0.145082, 0.094324, -0.071874, 0.1983, 0.207289, -0.49685, 0.961982, -0.715035, 0.275903, 0.395174, -0.485534, -0.417669, -0.525741, -0.678944, -0.437238, 0.907405, -0.13028, -0.710316, 0.239872], \"shape\": [7, 6, 8, 3]}, \"expected\": {\"data\": [0.368884, -0.282417, -0.217466, -0.926953, 0.424473, -0.47864, -0.452637, -0.576014, 0.481422, 0.976067, -0.631883, 0.995375, 0.1388, 0.417196, -0.503639, 0.354642, -0.503528, 0.808448, 0.517741, -0.032673, 0.539583, 0.039738, 0.964054, 0.545395, 0.567993, -0.175764, -0.155146, 0.041385, 0.065046, -0.648293, -0.010358, 0.538669, 0.594941, -0.523612, -0.504316, -0.375962, -0.358166, -0.082048, 0.547058, 0.517912, -0.471595, 0.704512, 0.124798, -0.305429, 0.105186, -0.467963, 0.389047, 0.08788, 0.781112, 0.379431, -0.84566, -0.663874, 0.15676, -0.62687, 0.70388, -0.924102, 0.918148, 0.319109, -0.660066, 0.096029, 0.212718, -0.570995, -0.556846, -0.898686, -0.077739, 0.029208, 0.146626, -0.661982, 0.75758, 0.404107, -0.113871, 0.828418], \"shape\": [3, 2, 4, 3]}}}\n"
     ]
    }
   ],
   "source": [
    "print(json.dumps(DATA))"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}
